Skip to content

Commit

Permalink
Fix semicolons in global configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Oct 5, 2017
1 parent 1c6ff88 commit c2a4bbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -818,7 +818,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 */}}
Expand Down

0 comments on commit c2a4bbc

Please sign in to comment.