mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Update reverse proxy configuration in docker.php
This commit is contained in:
1 parent
4d181eef8e
commit
a67576b447
1 file changed
+5
-1
@@ -236,7 +236,11 @@ function fqdnLabelsForCaddy(string $network, string $uuid, Collection $domains,
|
||||
|
||||
if ($serviceLabels) {
|
||||
$labels->push("caddy_ingress_network={$uuid}");
|
||||
$labels->push("caddy_{$loop}.reverse_proxy={{upstreams}}");
|
||||
if ($port) {
|
||||
$labels->push("caddy_{$loop}.reverse_proxy={{upstreams $port}}");
|
||||
} else {
|
||||
$labels->push("caddy_{$loop}.reverse_proxy={{upstreams}}");
|
||||
}
|
||||
} else {
|
||||
$labels->push("caddy_ingress_network={$network}");
|
||||
if ($port) {
|
||||
|
||||
Reference in new issue
Block a user