#NGINX access results in 403 forbidden

41 messages · Page 1 of 1 (latest)

distant grove
#

I've added my ssl certificates and added the reverse proxies and when I try to set access for only local network it results in 403 forbidden.
See pictures for example

lusty kiln
distant grove
#

If I force SSL it doesn't work

#

Sometimes it works as it should and sometimes I get 403 forbidden

lusty kiln
#

Yes this should work

#

Hmm I never had problems with force ssl

#

Personally I turn all toggles on the ssl tab and I never have problems

#

Oh this is for your proxmox ui

#

I don't think that the scheme should be https

#

That might be the problem

distant grove
#

Thats what i also figured that it should work

#

Its not only the proxmox one that fails

#

I used proxmox helper scripts for the install of nginx

#

I changed the proxmox one as you suggested and this is what i get now

#

Pihole

#

403 Forbidden on Nginx url

#

403 Forbidden on pihole url

distant grove
#

After forcing SSL I get ERR_FAILED or Too many redirects

distant grove
#

Tried turning off proxy on cloudflare but I still get an error

#

My router is a Lenovo M920q with a Intel X540-T2 nic running pfSense

#

NAT port 80 and 443 is opened to nginx lxc
Pihole is set as dns server in pfSense

#

All of a sudden it works again, but this time with forcing ssl

#

WTF

#

Every domain is set in Pihole and ends in nginx lxc

lusty kiln
#

Oh you are using cloudflare

#

Make sure you set strict ssl on cloudflare then

distant grove
lusty kiln
#

Yea

distant grove
# lusty kiln Yea

All of the url's is broken again now

Does nginx have to be rebooted with changes in proxy hosts or access lists?
Possible need to allow some time for the changes to take effect

lusty kiln
#

Should not need to

#

What error?

#

Forbidden?

distant grove
#

No error yet, just takes ages

#

Well, now it worked again
But Pihole seems to have something wrong

distant grove
#

Changed Pihole's scheme to https and it still wont work

coral osprey
#

that is not a error, its a warning

#

click on accept the risk and continue