fix: cloudflare tunnel with new multiplexing feature

This commit is contained in:
Andras Bacsai
2024-09-12 12:07:50 +02:00
parent 90fd0ebf12
commit 75f266fa9f
9 changed files with 21 additions and 11 deletions

View File

@@ -137,6 +137,8 @@ function generate_default_proxy_configuration(Server $server)
'external' => true,
];
});
// TODO: This should not be null on new servers, but it is.
ray($proxy_type);
if ($proxy_type === ProxyTypes::TRAEFIK->value) {
$labels = [
'traefik.enable=true',