mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
replacing __PORT_DNS_OVER_HTTP__ by __PORT__ for port_https and /dns-query
This commit is contained in:
parent
d784bb90cf
commit
9f55785a12
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ tls:
|
||||||
enabled: __DNS_OVER_HTTPS__
|
enabled: __DNS_OVER_HTTPS__
|
||||||
server_name: "__DOMAIN__"
|
server_name: "__DOMAIN__"
|
||||||
force_https: false
|
force_https: false
|
||||||
port_https: __PORT_DNS_OVER_HTTP__
|
port_https: __PORT__
|
||||||
port_dns_over_tls: __PORT_DNS_OVER_HTTP__
|
port_dns_over_tls: __PORT_DNS_OVER_HTTP__
|
||||||
port_dns_over_quic: __PORT_DNS_OVER_QUIC__
|
port_dns_over_quic: __PORT_DNS_OVER_QUIC__
|
||||||
port_dnscrypt: 0
|
port_dnscrypt: 0
|
||||||
|
|
|
@ -27,7 +27,7 @@ location /dns-query {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_read_timeout 6s;
|
proxy_read_timeout 6s;
|
||||||
proxy_connect_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)
|
# disabling the API point of the built-in updater (which can break the installation)
|
||||||
|
|
Loading…
Add table
Reference in a new issue