]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/apache.apis.erb
Send changeset uploads to cgimap for dev apis
[chef.git] / cookbooks / dev / templates / default / apache.apis.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:443>
4         ServerName apis.dev.openstreetmap.org
5         ServerAdmin webmaster@openstreetmap.org
6
7         SSLEngine on
8         SSLCertificateFile /etc/ssl/certs/apis.dev.openstreetmap.org.pem
9         SSLCertificateKeyFile /etc/ssl/private/apis.dev.openstreetmap.org.key
10
11         CustomLog /var/log/apache2/apis.dev.openstreetmap.org-access.log combined
12         ErrorLog /var/log/apache2/apis.dev.openstreetmap.org-error.log
13
14         DocumentRoot /srv/apis.dev.openstreetmap.org
15 </VirtualHost>
16
17 <VirtualHost *:80>
18         ServerName apis.dev.openstreetmap.org
19         ServerAdmin webmaster@openstreetmap.org
20
21         CustomLog /var/log/apache2/apis.dev.openstreetmap.org-access.log combined
22         ErrorLog /var/log/apache2/apis.dev.openstreetmap.org-error.log
23
24         RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
25         RedirectPermanent / https://apis.dev.openstreetmap.org/
26 </VirtualHost>
27
28 <Directory /srv/apis.dev.openstreetmap.org>
29         Require all granted
30 </Directory>