We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90b62e0 + a8ee64b commit 57a33aaCopy full SHA for 57a33aa
nginx.tmpl
@@ -112,7 +112,7 @@ upstream {{ $upstream_name }} {
112
113
{{ range $knownNetwork := $CurrentContainer.Networks }}
114
{{ range $containerNetwork := $container.Networks }}
115
- {{ if eq $knownNetwork.Name $containerNetwork.Name }}
+ {{ if or (eq $knownNetwork.Name $containerNetwork.Name) (eq $knownNetwork.Name "host") }}
116
## Can be connect with "{{ $containerNetwork.Name }}" network
117
118
{{/* If only 1 port exposed, use that */}}
0 commit comments