caddy-cc: only open port 443/tcp and forward port 443/udp to talk directly

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-11-24 10:22:59 +01:00
parent cc3ceb1766
commit 9f0b2625ea
2 changed files with 2 additions and 7 deletions

View file

@ -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;
}
}