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

fix: non working https with virtual path

This commit is contained in:
Nicolas Duchon 2021-08-11 18:04:53 +02:00
parent dad4a2d7bf
commit 28c73e5b52
No known key found for this signature in database
GPG Key ID: 91EF7BB1EECB961A

View File

@ -389,7 +389,7 @@ server {
{{ else }}
{{ range $path, $container := $paths }}
{{ $sum := sha1 $path }}
{{ $upstream := printf "%s-%s" $host $sum }}
{{ $upstream := printf "%s-%s" $upstream_name $sum }}
{{ template "location" (dict "Path" $path "Proto" $proto "Upstream" $upstream "Host" $host "Vhostroot" $vhost_root) }}
{{ end }}
{{ end }}