mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-06-30 22:05:46 +00:00
refactor: move debug's hostname into vhost
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user