From 9f0b2625eafa4dc1b8c356839add1261a85c6186 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 24 Nov 2025 10:22:59 +0100 Subject: [PATCH] caddy-cc: only open port 443/tcp and forward port 443/udp to talk directly Signed-off-by: Simon L. --- community-containers/caddy/caddy.json | 5 ----- php/src/Docker/DockerActionManager.php | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/community-containers/caddy/caddy.json b/community-containers/caddy/caddy.json index b85d74a0..f6143fbc 100644 --- a/community-containers/caddy/caddy.json +++ b/community-containers/caddy/caddy.json @@ -13,11 +13,6 @@ "ip_binding": "", "port_number": "443", "protocol": "tcp" - }, - { - "ip_binding": "", - "port_number": "443", - "protocol": "udp" } ], "environment": [ diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index 53df4df6..a6f5d223 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -290,8 +290,8 @@ readonly class DockerActionManager { } } else if ($port === '%TALK_PORT%') { $port = $this->configurationManager->GetTalkPort(); - // Skip publishing talk port if it is set to 443 - if ($port === '443') { + // Skip publishing talk tcp port if it is set to 443 + if ($port === '443' && $protocol === 'tcp') { continue; } }