diff --git a/templates/vhost/vhost_ssl_header.erb b/templates/vhost/vhost_ssl_header.erb index 1172df1..862a8ea 100644 --- a/templates/vhost/vhost_ssl_header.erb +++ b/templates/vhost/vhost_ssl_header.erb @@ -18,7 +18,7 @@ server { auth_basic "<%= @auth_basic %>"; <% end -%> <% if defined? @auth_basic_user_file -%> - auth_basic_user_file <%= @auth_basic_user_file %>; + auth_basic_user_file "<%= @auth_basic_user_file %>"; <% end -%> access_log <%= scope.lookupvar('nginx::params::nx_logdir')%>/ssl-<%= @name.gsub(' ', '_') %>.access.log;