Merge pull request #804 from Spechal/master
Resolving issue #803 by adding quotes around the parameters
This commit is contained in:
commit
cba946bcb7
2 changed files with 2 additions and 2 deletions
|
@ -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 -%>
|
||||||
|
|
|
@ -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 -%>
|
||||||
|
|
Loading…
Reference in a new issue