X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=etc%2Fapache2.conf;fp=etc%2Fapache2.conf;h=93b722ecd7bf82ad77e559340417f896540ee163;hb=2ee66abed449093f3170f4631bc08aaa9ad4ff53;hp=dbb2a406478cf21897ef5a54cce6bc007764a60f;hpb=9645b1a3d2553e72665fa952b2e8c0a05a891dd9;p=pharext%2Freplicator.pharext.org 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