From 9f55785a1211a5e0b518ccd4d0325ed38845d615 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Tue, 26 Dec 2023 21:07:37 +0100 Subject: [PATCH] replacing __PORT_DNS_OVER_HTTP__ by __PORT__ for port_https and /dns-query --- conf/AdGuardHome.yaml | 2 +- conf/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/AdGuardHome.yaml b/conf/AdGuardHome.yaml index b88b319..5ec1cd2 100644 --- a/conf/AdGuardHome.yaml +++ b/conf/AdGuardHome.yaml @@ -75,7 +75,7 @@ tls: enabled: __DNS_OVER_HTTPS__ server_name: "__DOMAIN__" force_https: false - port_https: __PORT_DNS_OVER_HTTP__ + port_https: __PORT__ port_dns_over_tls: __PORT_DNS_OVER_HTTP__ port_dns_over_quic: __PORT_DNS_OVER_QUIC__ port_dnscrypt: 0 diff --git a/conf/nginx.conf b/conf/nginx.conf index d0944ea..c07fbf2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -27,7 +27,7 @@ location /dns-query { proxy_http_version 1.1; proxy_read_timeout 6s; proxy_connect_timeout 6s; - proxy_pass http://127.0.0.1:__PORT_DNS_OVER_HTTP__/dns-query; + proxy_pass http://127.0.0.1:__PORT__/dns-query; } # disabling the API point of the built-in updater (which can break the installation)