Skip to content

Commit

Permalink
Cleanup indenting in template for limit_req_zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Farnsworth committed Nov 18, 2019
1 parent 894cbc8 commit 2cd91c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/conf.d/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ http {
<% end -%>
<% if @limit_req_zone -%>
<% if @limit_req_zone.is_a?(Array) -%>
<%- @limit_req_zone.each do |limit_req_zone_item| -%>
limit_req_zone <%= limit_req_zone_item %>;
<%- end -%>
<% else -%>
limit_req_zone <%= @limit_req_zone %>;
<% end -%>
<% if @limit_req_zone.is_a?(Array) -%>
<%- @limit_req_zone.each do |limit_req_zone_item| -%>
limit_req_zone <%= limit_req_zone_item %>;
<% end -%>
<% else -%>
limit_req_zone <%= @limit_req_zone %>;
<% end -%>
<% end -%>
<% if @sendfile == 'on' -%>
Expand Down

0 comments on commit 2cd91c3

Please sign in to comment.