-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx config in documentatation does not work well #962
Comments
@MichaIng Is this accurate? |
I did not know that there is an Nginx config in Pi-hole docs. We created ours based on the Lighttpd config shipped with Pi-hole. In the meantime it has been updated a little: https://github.com/MichaIng/DietPi/blob/master/.conf/dps_93/nginx.pihole.conf The Nginx config in Pi-hole docs indeed looks a little incomplete:
But what might actually cause the issue is the added basic authentication. The Pi-hole admin panel has own authentication, so no dedicated webserver-based authentication is required, and I am quite sure it breaks internal requests. |
@MichaIng: you are right with the basic authentication issue. |
With "empty" you mean a white page or is the page rendered, just the diagrams showing no values? If it is more a white page, the PHP processing block might just be wrong/incomplete. It is missing
The |
yes, with "empty" I mean just the diagrams showing no values. |
Hmm, but this is an indicator against my theory, since then the page is served by PHP. It could be tested adding
after
to the Nginx config from the docs. If this works, we should indeed add it there. |
I took the config from the docu and changed it according to your suggestion:
this works also :-) |
Okay, then I think we can be sure this really is the missing part. I'd just add the split path part to the |
- The PHP version included with Raspbian 12 is 8.2. Update version numbers accordingly - Consistently use systemctl for service management - Include fastcgi settings discussed in issue pi-hole#962 - Remove basic auth configuration since Pi-hole webpage has authentication - Remove autoindex setting as this is already the NGINX default - Remove permission steps that are already handled by the Pi-hole install Signed-off-by: Clay Oster <[email protected]>
Versions
Pi-hole version is v5.17.2 (Latest: v5.17.2)
web version is v5.21 (Latest: v5.21)
FTL version is v5.23 (Latest: v5.23)
Platform
armbian
banana-Pi
The nginx config from NGINX-Doku does not work well.
E.g. no values are shown in the Dashboard.
So I'm using the following config which is based on Diet-Pi config Diet-Pi config
This works well for me :-)
The text was updated successfully, but these errors were encountered: