Skip to content

Commit 8a949a0

Browse files
authored
Merge pull request #1608 from matejzero/master
Fix http_raw_prepend/append indentation
2 parents f458714 + ef180d1 commit 8a949a0

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
@@ -56,9 +56,9 @@ events {
5656

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

6464
<% if @http_cfg_prepend -%>
@@ -316,9 +316,9 @@ http {
316316
<% end -%>
317317

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

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

0 commit comments

Comments
 (0)