Skip to content

Commit ef180d1

Browse files
authored
Fix http_raw_prepend/append indentation
1 parent 12d6b62 commit ef180d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/conf.d/nginx.conf.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ events {
5555

5656
http {
5757
<% if @http_raw_prepend && Array(@http_raw_prepend).size > 0 -%>
58-
<%- Array(@http_raw_prepend).each do |line| -%>
59-
<%= line %>
60-
<%- end -%>
58+
<%- Array(@http_raw_prepend).each do |line| -%>
59+
<%= line %>
60+
<%- end -%>
6161
<% end -%>
6262

6363
<% if @http_cfg_prepend -%>
@@ -315,9 +315,9 @@ http {
315315
<% end -%>
316316

317317
<% if @http_raw_append && Array(@http_raw_append).size > 0 -%>
318-
<%- Array(@http_raw_append).each do |line| -%>
319-
<%= line %>
320-
<%- end -%>
318+
<%- Array(@http_raw_append).each do |line| -%>
319+
<%= line %>
320+
<%- end -%>
321321
<% end -%>
322322

323323
include <%= @conf_dir %>/conf.d/*.conf;

0 commit comments

Comments
 (0)