anchor.diff:    RailsEnv production
     PassengerMinInstances 3
     PassengerMaxRequests 500
  -<% if port == 443 -%>
     PassengerPreStart https://www.openstreetmap.org/
  -<% else -%>
  -  PassengerPreStart http://www.openstreetmap.org/
  -<% end -%>
     SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
   
     #
  
positive.code:   SSLEngine on
    SSLCertificateFile /etc/ssl/certs/www.openstreetmap.org.pem
    SSLCertificateKeyFile /etc/ssl/private/www.openstreetmap.org.key
  <% end -%>
  
    #
    # Setup logging
  
negative.code:   RewriteRule ^/api/0\.6/(nodes|ways|relations)$ fcgi://127.0.0.1:8000$0 [P]
    RewriteRule ^/api/0\.6/changeset/[0-9]+/download$ fcgi://127.0.0.1:8000$0 [P]
  </VirtualHost>
  
  <Directory <%= node[:web][:base_directory] %>/rails/public>
    Require all granted
  