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.
1 parent 619943a commit a8ee64bCopy full SHA for a8ee64b
nginx.tmpl
@@ -108,7 +108,7 @@ upstream {{ $upstream_name }} {
108
109
{{ range $knownNetwork := $CurrentContainer.Networks }}
110
{{ range $containerNetwork := $container.Networks }}
111
- {{ if eq $knownNetwork.Name $containerNetwork.Name }}
+ {{ if or (eq $knownNetwork.Name $containerNetwork.Name) (eq $knownNetwork.Name "host") }}
112
## Can be connect with "{{ $containerNetwork.Name }}" network
113
114
{{/* If only 1 port exposed, use that */}}
0 commit comments