From: Michael Wallner Date: Mon, 25 Mar 2019 13:06:00 +0000 (+0100) Subject: etc/apache2.conf: macro update X-Git-Url: https://git.m6w6.name/?p=pharext%2Freplicator.pharext.org;a=commitdiff_plain;h=2ee66abed449093f3170f4631bc08aaa9ad4ff53 etc/apache2.conf: macro update --- diff --git a/etc/apache2.conf b/etc/apache2.conf index dbb2a40..93b722e 100644 --- a/etc/apache2.conf +++ b/etc/apache2.conf @@ -22,17 +22,12 @@ Use replicator_host_defs - Redirect permanent / https://replicator.pharext.org/ + Use ssl_redirect + + + + Use replicator_host_defs + Use ssl_defs "pharext.org" "hsts" - - - Use replicator_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