We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f792686 + 631f7fb commit 04d7b51Copy full SHA for 04d7b51
templates/vhost/_directories.erb
@@ -1,6 +1,10 @@
1
2
<%- scope.setvar('_template_scope', {}) -%>
3
+ <%- if @docroot -%>
4
## Directories, there should at least be a declaration for <%= @docroot %>
5
+ <%- else -%>
6
+ ## Directories
7
+ <%- end -%>
8
<%- @_directories.each do |directory| -%>
9
<%- if directory['path'] and directory['path'] != '' -%>
10
<%- if directory['provider'] and directory['provider'].match('(directory|location|files|proxy)') -%>
0 commit comments