mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-11-04 02:57:14 +09:00
6 lines
246 B
Awk
6 lines
246 B
Awk
# Don't consider the HTTPS hostname since the enforced HTTPS redirection should
|
|
# work if the SSL check skipped. See file docker/healthcheck.sh.
|
|
/^[^[:space:]]/ { is_http = /^http:/ }
|
|
|
|
/^[[:space:]]+address:/ { if (is_http) print "http://" $2 }
|