1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 01:38:15 +00:00

fix: don't re-assign variable

Co-authored-by: pini-gh <pini@debian.org>
This commit is contained in:
Nicolas Duchon 2024-02-27 13:20:39 +01:00 committed by GitHub
parent e97be61272
commit 418f1a3cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,7 +452,7 @@ proxy_set_header Proxy "";
{{- /* Precompute some information about each vhost. */}}
{{- range $hostname, $containers := groupByMulti $globals.containers "Env.VIRTUAL_HOST" "," }}
{{- $hostname := trim $hostname }}
{{- $hostname = trim $hostname }}
{{- if not $hostname }}
{{- /* Ignore containers with VIRTUAL_HOST set to the empty string. */}}
{{- continue }}