Can't access WebUI behind NGINX (HTTP/1.1 301 Moved Permanently)

Please follow the below template, it will help us to help you!

Expected Behaviour:

Log into Pi-Hole Dashboard via 192.168.0.105:86/admin

Actual Behaviour:

Webpage refuses to connect giving error " 192.168.0.105 refused to connect."

Debug Token:

https://tricorder.pi-hole.net/80288bmer0

My Pi-Hole is behind NGINX at 192.168.0.105:86/admin.

Attached is my conf for nextcloud.nginx.conf.txt (1.0 KB)

When i run curl -I http://localhost/admin/ I get the following:

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 17 Aug 2019 05:27:54 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://localhost/admin/
Strict-Transport-Security: max-age=15768000; includeSubDomains; preload;
X-Robots-Tag: none
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: no-referrer

The Pi-Hole is still running fine, but I just can't access the Admin page. I had access until I rebooted my server.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.