Resolving issue #803 by adding quotes around the parameters

This commit is contained in:
Travis Crowder 2016-05-09 21:59:52 -05:00
parent 091397c6ae
commit c5fd0a7ace
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ server {
<% end -%> <% end -%>
<% if @add_header -%> <% if @add_header -%>
<%- @add_header.keys.sort.each do |key| -%> <%- @add_header.keys.sort.each do |key| -%>
add_header <%= key %> <%= @add_header[key] %>; add_header '<%= key %>' '<%= @add_header[key] %>';
<%- end -%> <%- end -%>
<% end -%> <% end -%>
<% if @maintenance -%> <% if @maintenance -%>

View file

@ -131,6 +131,6 @@ server {
<% end -%> <% end -%>
<% if @add_header -%> <% if @add_header -%>
<%- @add_header.keys.sort.each do |key| -%> <%- @add_header.keys.sort.each do |key| -%>
add_header <%= key %> <%= @add_header[key] %>; add_header '<%= key %>' '<%= @add_header[key] %>';
<%- end -%> <%- end -%>
<% end -%> <% end -%>