Skip to content

Commit

Permalink
Fix indention for add_header at template calls
Browse files Browse the repository at this point in the history
  • Loading branch information
crazymind1337 committed Nov 4, 2020
1 parent 8d2fa94 commit 76ac4fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/server/server_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ server {
<% if Array(@resolver).count > 0 -%>
resolver <% Array(@resolver).each do |r| %> <%= r %><% end %>;
<% end -%>
<%= scope.function_template(["nginx/server/locations/headers.erb"]) %>
<%= scope.function_template(["nginx/server/locations/headers.erb"]) %>
<% if @maintenance -%>
<%= @maintenance_value %>;
<% end -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/server/server_ssl_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ server {
<% Array(@passenger_env_var).each do |key,value| -%>
passenger_env_var <%= key %> <%= value %>;
<% end -%>
<%= scope.function_template(["nginx/server/locations/headers.erb"]) %>
<%= scope.function_template(["nginx/server/locations/headers.erb"]) %>

1 comment on commit 76ac4fa

@Elbandi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this adds a two "unused" space to config file

Please sign in to comment.