1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

Merge pull request #2347 from pini-gh/pini-2310

fix #2310
This commit is contained in:
Nicolas Duchon
2023-12-19 20:08:31 +01:00
committed by GitHub

View File

@ -75,7 +75,7 @@
{{- continue }}
{{- end }}
{{- range sortObjectsByKeysAsc $.globals.CurrentContainer.Networks "Name" }}
{{- if and . .Gateway }}
{{- if and . .Gateway (not .Internal) }}
# container is in host network mode, using {{ .Name }} gateway IP
{{- $ip = .Gateway }}
{{- break }}