Set SECRET_KEY_BASE for production web servers
[chef.git] / cookbooks / web / templates / default / apache.frontend.erb
index a3102d4b9d458fba29bab9c6e80eaa5bdb69235a..7bfe6a3e23e7eb5ca8eb975f98760366d77bbbac 100644 (file)
   PassengerMinInstances 10
   PassengerMaxRequests 5000
   PassengerPreStart http://www.openstreetmap.org/
+  SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
   Alias /favicon.ico <%= node[:web][:base_directory] %>/rails/app/assets/images/favicon.ico
   Alias /openlayers <%= node[:web][:base_directory] %>/rails/vendor/assets/openlayers
   Alias /stats /store/rails/stats