Skip to content

Commit

Permalink
Fix http_raw_prepend/append indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
matejzero authored Jul 29, 2024
1 parent 12d6b62 commit ef180d1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/conf.d/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ef180d1

Please sign in to comment.