Merge pull request #8975 from BetterAndBetterII/fix/caddy-is-app-listening-gate

Treat is_app_listening as a boolean, not a non-empty string
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2026-09-05 20:08:37 -04:00
commit b29bf2e6af
2 files changed
+133 -1

No files matched your search

@@ -86,7 +86,7 @@ trigger-caddy-vhosts-docker-args-process-deploy() {
# add the labels for caddy here
# prefer the https:443 mapping to http:80 mapping
if [[ -n "$is_app_listening" ]] && [[ -n "$caddy_domains" ]]; then
if [[ "$is_app_listening" == "true" ]] && [[ -n "$caddy_domains" ]]; then
has_443_mapping=false
tls_internal="$(fn-caddy-computed-tls-internal "$APP")"
if [[ -n "$proxy_container_https_port" ]] || [[ -n "$proxy_container_https_port_candidate" ]]; then