# DO NOT EDIT - This file is being maintained by Chef
ServerName chef.openstreetmap.org
ServerAlias chef.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
Redirect permanent / https://chef.openstreetmap.org/
ServerName chef.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
SSLEngine on
SSLProxyEngine on
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