From 018342b61df6429c8f85c759adc94ed6282a362b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 8 Mar 2019 11:39:37 +0100 Subject: [PATCH] add apache2.conf --- etc/apache2.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 etc/apache2.conf diff --git a/etc/apache2.conf b/etc/apache2.conf new file mode 100644 index 0000000..b1e8fe6 --- /dev/null +++ b/etc/apache2.conf @@ -0,0 +1,31 @@ + + ServerName mdref.m6w6m.name + ServerAdmin webmaster@m6w6.name + + DocumentRoot /var/www/mdref/mdref/public + + + Options Indexes FollowSymLinks + AllowOverride All + Require all granted + + + + + Use mdref_host_defs + + Redirect permanent / https://mdref.m6w6.name/ + + + + + + Use mdref_host_defs + Include "bits/hsts" + SSLEngine on + SSLUseStapling on + SSLCertificateKeyFile /etc/letsencrypt/live/m6w6.name/privkey.pem + SSLCertificateFile /etc/letsencrypt/live/m6w6.name/fullchain.pem + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet -- 2.30.2