X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..361fe7b2d59cd38452162f1c66f961f9f71ec377:/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 7d45abe21..7301fd834 100644 --- a/cookbooks/dev/templates/default/apache.rails.erb +++ b/cookbooks/dev/templates/default/apache.rails.erb @@ -1,16 +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 %> + +/public> + Require all granted + + +/app/assets> + Require all granted + + +/vendor/assets> + Require all granted +