fix: override caddy-based node client port to 443 when HAProxy is active
Main / build (push) Waiting to run

This commit is contained in:
2026-07-08 12:35:46 +08:00
parent 90a8ad633f
commit f07100c074
+5
View File
@@ -1597,6 +1597,11 @@ info() {
[[ $custom_remarks ]] && url_remarks=$custom_remarks
[[ $is_remarks ]] && url_remarks=$is_remarks
# If HAProxy is active, the public HTTPS port is 443 (routed to Caddy on 4443)
if systemctl is-active --quiet haproxy >/dev/null 2>&1; then
is_https_port=443
fi
# is_color=$(shuf -i 41-45 -n1)
is_color=44
case $net in