mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Merge pull request #7172 from nextcloud/enh/noid/fix-talk-udp-port
Some checks are pending
Codespell / Check spelling (push) Waiting to run
Validate community containers / Validate community containers (push) Waiting to run
Docker Lint / docker-lint (push) Waiting to run
Json Validator / Json Validator (push) Waiting to run
Lint php / php-lint (push) Waiting to run
Lint php / php-lint-summary (push) Blocked by required conditions
PHP Deprecation Detector / PHP Deprecation Detector (push) Waiting to run
Static analysis / static-psalm-analysis (push) Waiting to run
Twig Lint / twig-lint (push) Waiting to run
Some checks are pending
Codespell / Check spelling (push) Waiting to run
Validate community containers / Validate community containers (push) Waiting to run
Docker Lint / docker-lint (push) Waiting to run
Json Validator / Json Validator (push) Waiting to run
Lint php / php-lint (push) Waiting to run
Lint php / php-lint-summary (push) Blocked by required conditions
PHP Deprecation Detector / PHP Deprecation Detector (push) Waiting to run
Static analysis / static-psalm-analysis (push) Waiting to run
Twig Lint / twig-lint (push) Waiting to run
caddy-cc: only open port 443/tcp and forward port 443/udp to talk directly
This commit is contained in:
commit
5be3569df6
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