Remove blank lines from template rendering
This commit is contained in:
parent
ccaf15cdd4
commit
e603976721
6 changed files with 95 additions and 28 deletions
|
|
@ -186,7 +186,10 @@ http {
|
|||
{{- range $location := $server.Locations }}
|
||||
{{- $path := buildLocation $location }}
|
||||
location {{ $path }} {
|
||||
location {{ $path }} {
|
||||
{{/* if the location contains a rate limit annotation, create one */}}
|
||||
{{ $limits := buildRateLimit $location }}
|
||||
{{- range $limit := $limits }}
|
||||
{{ $limit }}{{ end }}
|
||||
proxy_set_header Host $host;
|
||||
|
||||
# Pass Real IP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue