Fix semicolons in global configuration
This commit is contained in:
parent
1c6ff88228
commit
c2a4bbc804
1 changed files with 3 additions and 3 deletions
|
@ -283,7 +283,7 @@ http {
|
||||||
|
|
||||||
{{ if not (empty $cfg.HTTPSnippet) }}
|
{{ if not (empty $cfg.HTTPSnippet) }}
|
||||||
# Custom code snippet configured in the configuration configmap
|
# Custom code snippet configured in the configuration configmap
|
||||||
{{ $cfg.HTTPSnippet }};
|
{{ $cfg.HTTPSnippet }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $name, $upstream := $backends }}
|
{{ range $name, $upstream := $backends }}
|
||||||
|
@ -401,7 +401,7 @@ http {
|
||||||
|
|
||||||
{{ if not (empty $cfg.ServerSnippet) }}
|
{{ if not (empty $cfg.ServerSnippet) }}
|
||||||
# Custom code snippet configured in the configuration configmap
|
# Custom code snippet configured in the configuration configmap
|
||||||
{{ $cfg.ServerSnippet }};
|
{{ $cfg.ServerSnippet }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ template "CUSTOM_ERRORS" $all }}
|
{{ template "CUSTOM_ERRORS" $all }}
|
||||||
|
@ -818,7 +818,7 @@ stream {
|
||||||
|
|
||||||
{{ if not (empty $all.Cfg.LocationSnippet) }}
|
{{ if not (empty $all.Cfg.LocationSnippet) }}
|
||||||
# Custom code snippet configured in the configuration configmap
|
# Custom code snippet configured in the configuration configmap
|
||||||
{{ $all.Cfg.LocationSnippet }};
|
{{ $all.Cfg.LocationSnippet }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* if we are sending the request to a custom default backend, we add the required headers */}}
|
{{/* if we are sending the request to a custom default backend, we add the required headers */}}
|
||||||
|
|
Loading…
Reference in a new issue