# DO NOT EDIT - This file is being maintained by Chef
ServerName forum.openstreetmap.org
ServerAlias forum.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
RedirectPermanent / https://forum.openstreetmap.org/
ServerAlias forum.osm.org
ServerAdmin webmaster@openstreetmap.org
SSLEngine on
SSLCertificateFile /etc/ssl/certs/forum.openstreetmap.org.pem
SSLCertificateKeyFile /etc/ssl/private/forum.openstreetmap.org.key
CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
RedirectPermanent / https://forum.openstreetmap.org/
ServerName forum.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
SSLEngine on
SSLCertificateFile /etc/ssl/certs/forum.openstreetmap.org.pem
SSLCertificateKeyFile /etc/ssl/private/forum.openstreetmap.org.key
CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
DocumentRoot /srv/forum.openstreetmap.org/html
ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/forum.openstreetmap.org/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
ProxyFCGISetEnvIf "true" PHP_VALUE "upload_max_filesize=70M\npost_max_size=100M"
RewriteEngine on
RewriteRule ^config\.php$ - [F,L]
Options -Indexes
Require all granted
SetHandler None