]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.backend.erb
Use apache 2.4 style access controls
[chef.git] / cookbooks / web / templates / default / apache.backend.erb
index 336ab56c5ccd5878d9c71d8dcf4d8b754164c2a9..5a6f097fe1c659a683e9d37768b3fcd65548319b 100644 (file)
@@ -60,3 +60,9 @@
 <% end -%>
 </VirtualHost>
 <% end -%>
+<% if node[:lsb][:release].to_f >= 14.04 -%>
+
+<Directory <%= node[:web][:base_directory] %>/rails/public>
+        Require all granted
+</Directory>
+<% end -%>