mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
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:
parent
cc3ceb1766
commit
9f0b2625ea
2 changed files with 2 additions and 7 deletions
|
|
@ -13,11 +13,6 @@
|
||||||
"ip_binding": "",
|
"ip_binding": "",
|
||||||
"port_number": "443",
|
"port_number": "443",
|
||||||
"protocol": "tcp"
|
"protocol": "tcp"
|
||||||
},
|
|
||||||
{
|
|
||||||
"ip_binding": "",
|
|
||||||
"port_number": "443",
|
|
||||||
"protocol": "udp"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"environment": [
|
"environment": [
|
||||||
|
|
|
||||||
|
|
@ -290,8 +290,8 @@ readonly class DockerActionManager {
|
||||||
}
|
}
|
||||||
} else if ($port === '%TALK_PORT%') {
|
} else if ($port === '%TALK_PORT%') {
|
||||||
$port = $this->configurationManager->GetTalkPort();
|
$port = $this->configurationManager->GetTalkPort();
|
||||||
// Skip publishing talk port if it is set to 443
|
// Skip publishing talk tcp port if it is set to 443
|
||||||
if ($port === '443') {
|
if ($port === '443' && $protocol === 'tcp') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue