fix: use edge hostname for local health check
This commit is contained in:
parent
3f9e6a1b66
commit
c797cb6a8d
|
|
@ -473,7 +473,8 @@ if [ "$enable_letsencrypt" = "true" ]; then
|
|||
check_edge_health -fsS --connect-timeout 10 --resolve "$server_name:443:127.0.0.1" "https://$server_name/edge-health"
|
||||
else
|
||||
sudo systemctl disable --now homelab-edge-renew-certs.timer >/dev/null 2>&1 || true
|
||||
check_edge_health -kfsS --connect-timeout 10 https://127.0.0.1/edge-health
|
||||
check_edge_health -kfsS --connect-timeout 10 \
|
||||
--resolve "$server_name:443:127.0.0.1" "https://$server_name/edge-health"
|
||||
fi
|
||||
EOT
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue