X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ff09336c78a7f9dbc446fcb66cb762980fb3ff5..bf16c782a9d8e78c4b14a35b899b81992f91155f:/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 88684b82c..9d86d910e 100644 --- a/cookbooks/chef/templates/default/apache.erb +++ b/cookbooks/chef/templates/default/apache.erb @@ -24,6 +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