apache-root #11
@ -41,6 +41,15 @@
|
|||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<% if node['web']['root'] %>
|
||||||
|
DocumentRoot <%= node['web']['root'] %>
|
||||||
|
<Directory <%= node['web']['root'] %>/>
|
||||||
|
Options Indexes FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
<% end - %>
|
||||||
|
|
||||||
<% if node['web']['static'] %>
|
<% if node['web']['static'] %>
|
||||||
<% node['web']['static'].each do |static| -%>
|
<% node['web']['static'].each do |static| -%>
|
||||||
Alias <%= static['uri'] %> <%= node['working-dir'] %>/<%= static['path'] %>
|
Alias <%= static['uri'] %> <%= node['working-dir'] %>/<%= static['path'] %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user