diff --git a/templates/vhost/_directories.erb b/templates/vhost/_directories.erb index 3c890423fb..b63b7ff49f 100644 --- a/templates/vhost/_directories.erb +++ b/templates/vhost/_directories.erb @@ -1,6 +1,10 @@ <%- scope.setvar('_template_scope', {}) -%> + <%- if @docroot -%> ## Directories, there should at least be a declaration for <%= @docroot %> + <%- else -%> + ## Directories + <%- end -%> <%- @_directories.each do |directory| -%> <%- if directory['path'] and directory['path'] != '' -%> <%- if directory['provider'] and directory['provider'].match('(directory|location|files|proxy)') -%>