]> git.openstreetmap.org Git - chef.git/blob - cookbooks/blog/templates/default/opengeodata.erb
Don't try and dump tablespaces in mysql backups
[chef.git] / cookbooks / blog / templates / default / opengeodata.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4   ServerName opengeodata.org
5   ServerAlias www.opengeodata.org
6   ServerAlias old.opengeodata.org # https://blog.openstreetmap.org/2010/02/25/old-opengeodata-posts-now-up-at-old-opengeodata-org/
7
8   ServerAdmin webmaster@openstreetmap.org
9
10   CustomLog /var/log/apache2/<%= @name %>-access.log combined
11   ErrorLog /var/log/apache2/<%= @name %>-error.log
12
13   RewriteEngine on
14   RewriteRule ^(.*/)index\.html$ https://blog.openstreetmap.org/$1 [R=permanent,L]
15
16   RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
17   RedirectPermanent / https://blog.openstreetmap.org/
18 </VirtualHost>
19
20 <VirtualHost *:443>
21   ServerName opengeodata.org
22   ServerAlias www.opengeodata.org
23   ServerAlias old.opengeodata.org # https://blog.openstreetmap.org/2010/02/25/old-opengeodata-posts-now-up-at-old-opengeodata-org/
24
25   ServerAdmin webmaster@openstreetmap.org
26
27   SSLEngine on
28   SSLCertificateFile /etc/ssl/certs/opengeodata.org.pem
29   SSLCertificateKeyFile /etc/ssl/private/opengeodata.org.key
30
31   CustomLog /var/log/apache2/<%= @name %>-access.log combined
32   ErrorLog /var/log/apache2/<%= @name %>-error.log
33
34   RewriteEngine on
35   RewriteRule ^(.*/)index\.html$ https://blog.openstreetmap.org/$1 [R=permanent,L]
36
37   RedirectPermanent / https://blog.openstreetmap.org/
38 </VirtualHost>