Merge pull request #804 from Spechal/master

Resolving issue #803 by adding quotes around the parameters
This commit is contained in:
Matthew Haughton 2016-05-13 12:15:43 -04:00
commit cba946bcb7
2 changed files with 2 additions and 2 deletions

View file

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

View file

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