From c5fd0a7aced87e81ca1b204f724d9d8f5d8152a2 Mon Sep 17 00:00:00 2001 From: Travis Crowder Date: Mon, 9 May 2016 21:59:52 -0500 Subject: [PATCH] Resolving issue #803 by adding quotes around the parameters --- templates/vhost/vhost_header.erb | 2 +- templates/vhost/vhost_ssl_header.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/vhost/vhost_header.erb b/templates/vhost/vhost_header.erb index cf26c3f..ab94a74 100644 --- a/templates/vhost/vhost_header.erb +++ b/templates/vhost/vhost_header.erb @@ -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 -%> diff --git a/templates/vhost/vhost_ssl_header.erb b/templates/vhost/vhost_ssl_header.erb index 6e1367f..ca89577 100644 --- a/templates/vhost/vhost_ssl_header.erb +++ b/templates/vhost/vhost_ssl_header.erb @@ -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 -%>