From ef180d1693cf447d78ed4db9e9ff13a628f059f7 Mon Sep 17 00:00:00 2001 From: Matej Zerovnik Date: Mon, 29 Jul 2024 22:11:17 +0200 Subject: [PATCH] Fix http_raw_prepend/append indentation --- templates/conf.d/nginx.conf.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/conf.d/nginx.conf.erb b/templates/conf.d/nginx.conf.erb index 5fa31c3c9..df790b7c8 100644 --- a/templates/conf.d/nginx.conf.erb +++ b/templates/conf.d/nginx.conf.erb @@ -55,9 +55,9 @@ events { http { <% if @http_raw_prepend && Array(@http_raw_prepend).size > 0 -%> - <%- Array(@http_raw_prepend).each do |line| -%> - <%= line %> - <%- end -%> + <%- Array(@http_raw_prepend).each do |line| -%> + <%= line %> + <%- end -%> <% end -%> <% if @http_cfg_prepend -%> @@ -315,9 +315,9 @@ http { <% end -%> <% if @http_raw_append && Array(@http_raw_append).size > 0 -%> - <%- Array(@http_raw_append).each do |line| -%> - <%= line %> - <%- end -%> + <%- Array(@http_raw_append).each do |line| -%> + <%= line %> + <%- end -%> <% end -%> include <%= @conf_dir %>/conf.d/*.conf;