mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
fix: update pihole subdomain v6 api
This commit is contained in:
parent
d1fc8c3df6
commit
095ca4c5b0
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2024/07/16
|
||||
## Version 2025/02/18
|
||||
# make sure that your pihole container is named pihole
|
||||
# make sure that your dns has a cname set for pihole
|
||||
|
||||
|
@ -68,4 +68,14 @@ server {
|
|||
|
||||
proxy_hide_header X-Frame-Options;
|
||||
}
|
||||
|
||||
# Uncomment this block out if using pihole v6+
|
||||
# location ~ ^/api {
|
||||
# include /config/nginx/proxy.conf;
|
||||
# include /config/nginx/resolver.conf;
|
||||
# set $upstream_app pihole;
|
||||
# set $upstream_port 80;
|
||||
# set $upstream_proto http;
|
||||
# proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
# }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue