Fix template error
This commit is contained in:
parent
827d8520ae
commit
884b388438
2 changed files with 3 additions and 3 deletions
|
|
@ -573,7 +573,7 @@ stream {
|
|||
|
||||
{{ if isLocationAllowed $location }}
|
||||
{{ if gt (len $location.Whitelist.CIDR) 0 }}
|
||||
if ({{ buildDenyVariable (print .Hostname "_" $path) }}) {
|
||||
if ({{ buildDenyVariable (print $server.Hostname "_" $path) }}) {
|
||||
return 403;
|
||||
}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue