Skip to content

Commit 73b17d9

Browse files
committed
fix: update pihole subdomain v6 api
1 parent 1df50fd commit 73b17d9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pihole.subdomain.conf.sample

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/07/16
1+
## Version 2025/02/18
22
# make sure that your pihole container is named pihole
33
# make sure that your dns has a cname set for pihole
44

@@ -68,4 +68,14 @@ server {
6868

6969
proxy_hide_header X-Frame-Options;
7070
}
71+
72+
# Uncomment this block out if using pihole v6+
73+
# location ~ ^/api {
74+
# include /config/nginx/proxy.conf;
75+
# include /config/nginx/resolver.conf;
76+
# set $upstream_app pihole;
77+
# set $upstream_port 80;
78+
# set $upstream_proto http;
79+
# proxy_pass $upstream_proto://$upstream_app:$upstream_port;
80+
# }
7181
}

0 commit comments

Comments
 (0)