Merge pull request #1477 from aledbf/fix-semicolon

Fix semicolons in global configuration
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-10-04 19:11:43 -07:00 committed by GitHub
commit 23916be991

View file

@ -283,7 +283,7 @@ http {
{{ if not (empty $cfg.HTTPSnippet) }}
# Custom code snippet configured in the configuration configmap
{{ $cfg.HTTPSnippet }};
{{ $cfg.HTTPSnippet }}
{{ end }}
{{ range $name, $upstream := $backends }}
@ -401,7 +401,7 @@ http {
{{ if not (empty $cfg.ServerSnippet) }}
# Custom code snippet configured in the configuration configmap
{{ $cfg.ServerSnippet }};
{{ $cfg.ServerSnippet }}
{{ end }}
{{ template "CUSTOM_ERRORS" $all }}
@ -823,7 +823,7 @@ stream {
{{ if not (empty $all.Cfg.LocationSnippet) }}
# Custom code snippet configured in the configuration configmap
{{ $all.Cfg.LocationSnippet }};
{{ $all.Cfg.LocationSnippet }}
{{ end }}
{{/* if we are sending the request to a custom default backend, we add the required headers */}}