mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
refactor: move debug's hostname into vhost
This commit is contained in:
parent
72bb8a66d8
commit
7d909782f9
@ -380,11 +380,11 @@ upstream {{ $vpath.upstream }} {
|
||||
{{- end }}
|
||||
|
||||
{{- $debug_vhost := deepCopy .VHost }}
|
||||
{{- $_ := set $debug_vhost "hostname" .Hostname }}
|
||||
{{- $_ := set $debug_vhost "paths" $debug_paths }}
|
||||
|
||||
{{- $debug_response := dict
|
||||
"global" .GlobalConfig
|
||||
"hostname" .Hostname
|
||||
"request" (dict
|
||||
"host" "$host"
|
||||
"https" "$https"
|
||||
|
Loading…
x
Reference in New Issue
Block a user