]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/apache.erb
planet: also sync to s3 changeset state config file
[chef.git] / cookbooks / chef / templates / default / apache.erb
index 1fb417fcb50374ee682090e19e2e6f814b30af78..9d86d910e7c858b4ccdfdd3b9e71391e8c8a7705 100644 (file)
@@ -24,5 +24,7 @@
        SSLCertificateFile /etc/ssl/certs/chef.openstreetmap.org.pem
        SSLCertificateKeyFile /etc/ssl/private/chef.openstreetmap.org.key
 
+       ProxyPassMatch ^/.*\.git/ !
        ProxyPass / https://<%= node[:fqdn] %>:4443/
+       ProxyPreserveHost on
 </VirtualHost>