fix: non working https with virtual path
This commit is contained in:
parent
dad4a2d7bf
commit
28c73e5b52
@ -389,7 +389,7 @@ server {
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
{{ range $path, $container := $paths }}
|
{{ range $path, $container := $paths }}
|
||||||
{{ $sum := sha1 $path }}
|
{{ $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) }}
|
{{ template "location" (dict "Path" $path "Proto" $proto "Upstream" $upstream "Host" $host "Vhostroot" $vhost_root) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user