1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName forum.openstreetmap.org
5 ServerAlias forum.osm.org
6 ServerAdmin webmaster@openstreetmap.org
8 CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
9 ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
11 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
12 RedirectPermanent / https://forum.openstreetmap.org/
16 ServerAlias forum.osm.org
17 ServerAdmin webmaster@openstreetmap.org
20 SSLCertificateFile /etc/ssl/certs/forum.openstreetmap.org.pem
21 SSLCertificateKeyFile /etc/ssl/private/forum.openstreetmap.org.key
23 CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
24 ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
26 RedirectPermanent / https://forum.openstreetmap.org/
30 ServerName forum.openstreetmap.org
31 ServerAdmin webmaster@openstreetmap.org
34 SSLCertificateFile /etc/ssl/certs/forum.openstreetmap.org.pem
35 SSLCertificateKeyFile /etc/ssl/private/forum.openstreetmap.org.key
37 CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
38 ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
40 DocumentRoot /srv/forum.openstreetmap.org/html
42 <FilesMatch ".+\.ph(ar|p|tml)$">
43 SetHandler "proxy:unix:/run/php/php-forum.openstreetmap.org-fpm.sock|fcgi://127.0.0.1"
47 <Directory /srv/forum.openstreetmap.org/html>
49 RewriteRule ^config\.php$ - [F,L]
56 <Directory /srv/forum.openstreetmap.org/html/img>
57 <FilesMatch ".+\.ph(ar|p|tml)$">