fix: override caddy-based node client port to 443 when HAProxy is active
Main / build (push) Waiting to run
Main / build (push) Waiting to run
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user