mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
reset port_https because it's not relevant
This commit is contained in:
parent
1c95e2ab5e
commit
02b0461bbc
3 changed files with 6 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_INTERNAL_HTTPS__
|
port_https: 0
|
||||||
port_dns_over_tls: __PORT_DNS_OVER_TLS__
|
port_dns_over_tls: __PORT_DNS_OVER_TLS__
|
||||||
port_dns_over_quic: __PORT_DNS_OVER_QUIC__
|
port_dns_over_quic: __PORT_DNS_OVER_QUIC__
|
||||||
port_dnscrypt: 0
|
port_dnscrypt: 0
|
||||||
|
|
|
@ -81,7 +81,6 @@ dns_over_tls.fixed = true
|
||||||
dns_over_quic.default = 784
|
dns_over_quic.default = 784
|
||||||
dns_over_quic.exposed = "UDP"
|
dns_over_quic.exposed = "UDP"
|
||||||
dns_over_quic.fixed = true
|
dns_over_quic.fixed = true
|
||||||
internal_https.default = 13120 # dummy port because the app settings requiring it
|
|
||||||
# AGH also uses port 53 but we can't put it here as dnsmasq uses it by default
|
# AGH also uses port 53 but we can't put it here as dnsmasq uses it by default
|
||||||
# and the ynh core would assign us another port, however, on installation we
|
# and the ynh core would assign us another port, however, on installation we
|
||||||
# edit dnsmasq's configuration to allow AGH to use port 53 on non-localhost IPs
|
# edit dnsmasq's configuration to allow AGH to use port 53 on non-localhost IPs
|
||||||
|
|
|
@ -29,6 +29,11 @@ ynh_systemd_action --service_name="$app" --action="stop"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
|
# to remove some time in the future (DoH PR during testing phase residual)
|
||||||
|
if ! grep -q "port_https: 0"; then
|
||||||
|
ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port_https" --value="0"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "${expose_port_53:-}" ] || [ "${expose_port_53:-}" = false ]; then
|
if [ -z "${expose_port_53:-}" ] || [ "${expose_port_53:-}" = false ]; then
|
||||||
# if 'expose_port_53' doesn't exist or is false
|
# if 'expose_port_53' doesn't exist or is false
|
||||||
expose_port_53="false"
|
expose_port_53="false"
|
||||||
|
|
Loading…
Add table
Reference in a new issue