From c2a4bbc80450a82d190ec011bc38b4c0ea91d72f Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Wed, 4 Oct 2017 22:51:02 -0300 Subject: [PATCH] Fix semicolons in global configuration --- controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl index 5d87e36331..f12d55511c 100644 --- a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl +++ b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl @@ -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 }} @@ -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 */}}