From a2fd0355c40ca0c9a088c7946f23328084d59ddc Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 8 Mar 2019 16:57:27 +0100 Subject: [PATCH] add config --- etc/apache2.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 etc/apache2.conf 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 -- 2.30.2