What is Nostr?
Neil Brown /
npub1wax…x0yw
2025-04-27 14:04:43

Neil Brown on Nostr: New blogpost: "Updating my nginx config for Pi-hole 6.x" My existing nginx config did ...

New blogpost: "Updating my nginx config for Pi-hole 6.x"

My existing nginx config did not work when I upgraded to version 6.x of Pi-hole. So I fixed it.

tl;dr:

location /admin {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://[::1]:8080/admin;
auth_basic "Restricted"; # For Basic Auth
auth_basic_user_file /etc/nginx/.htpasswd; # For Basic Auth
}


https://neilzone.co.uk/2025/04/updating-my-nginx-config-for-pi-hole-6x/

#DNS #adblocker #Pihole #nginx #Linux #FOSS
Author Public Key
npub1waxkzn4ulrap2d5qtluxhkl8wcl5lye7y9sg79958s43j9hnsspsqdx0yw