From: Michael Wallner Date: Fri, 8 Mar 2019 15:57:27 +0000 (+0100) Subject: add config X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext.org;a=commitdiff_plain;h=a2fd0355c40ca0c9a088c7946f23328084d59ddc add config --- diff --git a/etc/apache2.conf b/etc/apache2.conf new file mode 100644 index 0000000..5f9c3e2 --- /dev/null +++ b/etc/apache2.conf @@ -0,0 +1,34 @@ + + ServerName pharext.org + ServerAlias www.pharext.org + ServerAdmin webmaster@pharext.org + + DocumentRoot /var/www/pharext/public + + + Options Indexes FollowSymLinks MultiViews + AllowOverride All + Require all granted + SetEnv APP_ENVIRONMENT production + + ForceType application/phar + + + + + + Use pharext_host_defs + Redirect permanent / https://pharext.org/ + + + + + Use pharext_host_defs + Include "bits/hsts" + SSLEngine on + SSLUseStapling on + SSLCertificateKeyFile /etc/letsencrypt/live/pharext.org/privkey.pem + SSLCertificateFile /etc/letsencrypt/live/pharext.org/fullchain.pem + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet