Skip to content

Commit

Permalink
Resolving issue voxpupuli#803 by adding quotes around the parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Crowder committed May 10, 2016
1 parent d7f5e46 commit 02354f8
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 02354f8

Please sign in to comment.