Skip to content

Commit

Permalink
Merge pull request #804 from Spechal/master
Browse files Browse the repository at this point in the history
Resolving issue #803 by adding quotes around the parameters
  • Loading branch information
3flex committed May 13, 2016
2 parents 091397c + c5fd0a7 commit cba946b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/vhost/vhost_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/vhost/vhost_ssl_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

0 comments on commit cba946b

Please sign in to comment.