fix: use edge hostname for local health check

This commit is contained in:
juvenal.diaz 2026-10-26 22:06:52 -06:00
parent 3f9e6a1b66
commit c797cb6a8d
1 changed files with 2 additions and 1 deletions

View File

@ -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
]