We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f9c905 + ee3e585 commit 2ccc3b3Copy full SHA for 2ccc3b3
1 file changed
adguard.subdomain.conf.sample
@@ -1,4 +1,4 @@
1
-## Version 2021/05/18
+## Version 2021/09/24
2
# make sure that your dns has a cname set for adguard and that your adguard container is named adguard
3
4
server {
@@ -47,4 +47,16 @@ server {
47
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
48
49
}
50
+
51
+ location /dns-query {
52
+ # to properly use this please set `allow_unencrypted_doh: true` and `force_https: false` in adguard
53
+ # see https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file
54
+ include /config/nginx/proxy.conf;
55
+ include /config/nginx/resolver.conf;
56
+ set $upstream_app adguard;
57
+ set $upstream_port 80;
58
+ set $upstream_proto http;
59
+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
60
61
+ }
62
0 commit comments