]> git.openstreetmap.org Git - chef.git/blob - cookbooks/letsencrypt/templates/default/apache.erb
Fix paths in letsencrypt renewal scripts
[chef.git] / cookbooks / letsencrypt / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName acme.openstreetmap.org
5         ServerAlias acme.osm.org
6         ServerAdmin webmaster@openstreetmap.org
7
8         CustomLog /var/log/apache2/acme.openstreetmap.org-access.log combined
9         ErrorLog /var/log/apache2/acme.openstreetmap.org-error.log
10
11         DocumentRoot /srv/acme.openstreetmap.org/html
12 </VirtualHost>
13
14 <VirtualHost *:443>
15         ServerName acme.openstreetmap.org
16         ServerAlias acme.osm.org
17         ServerAdmin webmaster@openstreetmap.org
18
19         CustomLog /var/log/apache2/acme.openstreetmap.org-access.log combined
20         ErrorLog /var/log/apache2/acme.openstreetmap.orgĀ¬-error.log
21
22         SSLEngine on
23         SSLCertificateFile /etc/ssl/certs/acme.openstreetmap.org.pem
24         SSLCertificateKeyFile /etc/ssl/private/acme.openstreetmap.org.key
25
26         DocumentRoot /srv/acme.openstreetmap.org/html
27 </VirtualHost>
28
29 <Directory /srv/acme.openstreetmap.org/html>
30         Require all granted
31 </Directory>