1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName dev.openstreetmap.org
5 ServerAdmin webmaster@openstreetmap.org
8 SSLCertificateFile /etc/ssl/certs/dev.openstreetmap.org.pem
9 SSLCertificateKeyFile /etc/ssl/private/dev.openstreetmap.org.key
11 CustomLog /var/log/apache2/dev.openstreetmap.org-access.log combined
12 ErrorLog /var/log/apache2/dev.openstreetmap.org-error.log
14 DocumentRoot /srv/dev.openstreetmap.org
17 RewriteCond %{REQUEST_URI} ^/~([^/]*)(/.*)?$
18 RewriteCond /home/%1/public_html -d
19 RewriteRule ^/~([^/]*)(/.*)?$ https://$1.dev.openstreetmap.org$2 [NS,R=307]
23 ServerName dev.openstreetmap.org
24 ServerAdmin webmaster@openstreetmap.org
26 CustomLog /var/log/apache2/dev.openstreetmap.org-access.log combined
27 ErrorLog /var/log/apache2/dev.openstreetmap.org-error.log
29 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
30 RedirectPermanent / https://dev.openstreetmap.org/
33 <Directory /srv/dev.openstreetmap.org>