]> git.openstreetmap.org Git - chef.git/blob - cookbooks/hot/templates/default/apache.erb
Merge remote-tracking branch 'github/pull/422'
[chef.git] / cookbooks / hot / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4    ServerName hot.openstreetmap.org
5    ServerAlias hot.osm.org
6    ServerAdmin webmaster@openstreetmap.org
7
8    CustomLog /var/log/apache2/hot.openstreetmap.org-access.log combined
9    ErrorLog /var/log/apache2/hot.openstreetmap.org-error.log
10
11    RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
12    RedirectPermanent / https://www.hotosm.org/
13 </VirtualHost>
14
15 <VirtualHost *:443>
16    ServerName hot.openstreetmap.org
17    ServerAlias hot.osm.org
18    ServerAdmin webmaster@openstreetmap.org
19
20    CustomLog /var/log/apache2/hot.openstreetmap.org-access.log combined
21    ErrorLog /var/log/apache2/hot.openstreetmap.org-error.log
22
23    SSLEngine on
24    SSLCertificateFile /etc/ssl/certs/hot.openstreetmap.org.pem
25    SSLCertificateKeyFile /etc/ssl/private/hot.openstreetmap.org.key
26
27    RedirectPermanent / https://www.hotosm.org/
28 </VirtualHost>