X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e75a75dcec6ef6fcb91f6c1b229bb6cd907ce2f6..514c99b49acbac6fd3b5b0ef6c8af648c0fc67f5:/cookbooks/chef/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/chef/templates/default/apache.erb b/cookbooks/chef/templates/default/apache.erb index 1fb417fcb..9d86d910e 100644 --- a/cookbooks/chef/templates/default/apache.erb +++ b/cookbooks/chef/templates/default/apache.erb @@ -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