]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.backend.erb
Revert "Send diff uploads to cgimap"
[chef.git] / cookbooks / web / templates / default / apache.backend.erb
index 089ca1c30170c25c181af8800a8b38861fe8b093..6ce83af6c2668f461b5c499ea3c1b363c8efc611 100644 (file)
   PassengerMaxRequests 500
   PassengerPreStart https://www.openstreetmap.org/
   PassengerAppGroupName rails
+  SetEnv OPENSTREETMAP_STATUS <%= @status %>
   SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
 
   #
   # Get the real remote IP for requests via a trusted proxy
   #
   RemoteIPHeader X-Forwarded-For
-  RemoteIPTrustedProxy 146.179.159.160/27
   RemoteIPTrustedProxy 10.0.32.0/24
+  RemoteIPTrustedProxy 10.0.48.0/24
 
   #
   # Pass authentication related headers to cgimap