X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b09d9f97fea24b4a1f56a97724d13752d6340996..d5a85e00136bfbedcd488bbe9c93f5752bf1a106:/cookbooks/dev/templates/default/apache.rails.erb
diff --git a/cookbooks/dev/templates/default/apache.rails.erb b/cookbooks/dev/templates/default/apache.rails.erb
index 4874416c3..7301fd834 100644
--- a/cookbooks/dev/templates/default/apache.rails.erb
+++ b/cookbooks/dev/templates/default/apache.rails.erb
@@ -1,18 +1,30 @@
# DO NOT EDIT - This file is being maintained by Chef
- ServerName <%= @name %>
+ ServerName <%= @name %>
<% @aliases.each do |alias_name| -%>
- ServerAlias <%= alias_name %>
+ ServerAlias <%= alias_name %>
<% end -%>
- ServerAdmin webmaster@openstreetmap.org
+ ServerAdmin webmaster@openstreetmap.org
- DocumentRoot /srv/<%= @name %>/public
+ DocumentRoot /srv/<%= @name %>/public
- CustomLog /var/log/apache2/<%= @name %>-access.log combined
- ErrorLog /var/log/apache2/<%= @name %>-error.log
+ CustomLog /var/log/apache2/<%= @name %>-access.log combined
+ ErrorLog /var/log/apache2/<%= @name %>-error.log
- RailsEnv production
+ RailsEnv production
- SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
+ SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
+
+/public>
+ Require all granted
+
+
+/app/assets>
+ Require all granted
+
+
+/vendor/assets>
+ Require all granted
+