]> git.openstreetmap.org Git - chef.git/blob - cookbooks/stateofthemap/templates/default/apache.erb
Drop generic aliases from 2016.stateofthemap.org
[chef.git] / cookbooks / stateofthemap / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName stateofthemap.org
5         ServerAlias stateofthemap.com
6         ServerAlias www.stateofthemap.org
7         ServerAlias www.stateofthemap.com
8         ServerAdmin webmaster@openstreetmap.org
9
10         CustomLog /var/log/apache2/stateofthemap.org-access.log combined
11         ErrorLog /var/log/apache2/stateofthemap.org-error.log
12
13         RedirectPermanent / https://stateofthemap.org/
14 </VirtualHost>
15
16 <VirtualHost *:443>
17         ServerName stateofthemap.com
18         ServerAlias www.stateofthemap.org
19         ServerAlias www.stateofthemap.com
20         ServerAdmin webmaster@openstreetmap.org
21
22         CustomLog /var/log/apache2/stateofthemap.org-access.log combined
23         ErrorLog /var/log/apache2/stateofthemap.org-error.log
24
25         RedirectPermanent / https://stateofthemap.org/
26 </VirtualHost>
27
28 <VirtualHost *:443>
29         ServerName stateofthemap.org
30         ServerAdmin webmaster@openstreetmap.org
31
32         CustomLog /var/log/apache2/stateofthemap.org-access.log combined
33         ErrorLog /var/log/apache2/stateofthemap.org-error.log
34
35         DocumentRoot /srv/stateofthemap.org/html
36 </VirtualHost>
37
38 <Directory /srv/stateofthemap.org/html>
39         Require all granted
40 </Directory>