]> git.openstreetmap.org Git - chef.git/blob - cookbooks/stateofthemap/templates/default/apache.erb
On taginfo server: Keep last planet and change file around after update.
[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         SSLEngine on
26
27         RedirectPermanent / https://stateofthemap.org/
28 </VirtualHost>
29
30 <VirtualHost *:443>
31         ServerName stateofthemap.org
32         ServerAdmin webmaster@openstreetmap.org
33
34         CustomLog /var/log/apache2/stateofthemap.org-access.log combined
35         ErrorLog /var/log/apache2/stateofthemap.org-error.log
36
37         SSLEngine on
38
39         DocumentRoot /srv/stateofthemap.org/html
40 </VirtualHost>
41
42 <Directory /srv/stateofthemap.org/html>
43         Require all granted
44 </Directory>