mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +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 }}
|
{{- end }}
|
||||||
|
|
||||||
{{- $debug_vhost := deepCopy .VHost }}
|
{{- $debug_vhost := deepCopy .VHost }}
|
||||||
|
{{- $_ := set $debug_vhost "hostname" .Hostname }}
|
||||||
{{- $_ := set $debug_vhost "paths" $debug_paths }}
|
{{- $_ := set $debug_vhost "paths" $debug_paths }}
|
||||||
|
|
||||||
{{- $debug_response := dict
|
{{- $debug_response := dict
|
||||||
"global" .GlobalConfig
|
"global" .GlobalConfig
|
||||||
"hostname" .Hostname
|
|
||||||
"request" (dict
|
"request" (dict
|
||||||
"host" "$host"
|
"host" "$host"
|
||||||
"https" "$https"
|
"https" "$https"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user