From: Michael Wallner Date: Fri, 8 Mar 2019 10:39:37 +0000 (+0100) Subject: add apache2.conf X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=018342b61df6429c8f85c759adc94ed6282a362b;p=mdref%2Fmdref.m6w6.name add 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