1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName chef.openstreetmap.org
5 ServerAlias chef.osm.org
6 ServerAdmin webmaster@openstreetmap.org
8 CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
9 ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
11 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
12 Redirect permanent / https://chef.openstreetmap.org/
16 ServerName chef.openstreetmap.org
17 ServerAdmin webmaster@openstreetmap.org
19 CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
20 ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
24 SSLCertificateFile /etc/ssl/certs/chef.openstreetmap.org.pem
25 SSLCertificateKeyFile /etc/ssl/private/chef.openstreetmap.org.key
27 ProxyPassMatch ^/.*\.git/ !
28 ProxyPass / https://<%= node[:fqdn] %>:4443/
31 SetEnv GIT_PROJECT_ROOT /var/lib/git
32 SetEnv GIT_HTTP_EXPORT_ALL
33 ScriptAlias / /usr/lib/git-core/git-http-backend/
36 <Directory /usr/lib/git-core>
38 Require ip <%= @git_allowed.sort.join(" ") %>