X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=etc%2Fapache2.conf;h=381d46e84e1e6f175f369c04cc4e7df760b77ab7;hb=2212d30ac3de21c94d316342da83b8bc4c01420f;hp=db864b77dfc9766f3c60d84f4ee0768c5d73f9c4;hpb=d5a58fa62bcd83b73d688b10fb5d0061ba2dd580;p=pharext%2Fpharext.org diff --git a/etc/apache2.conf b/etc/apache2.conf index db864b7..381d46e 100644 --- a/etc/apache2.conf +++ b/etc/apache2.conf @@ -23,17 +23,12 @@ Use pharext_host_defs - Redirect permanent / https://pharext.org/ + Use ssl_redirect + + + + Use pharext_host_defs + Use ssl_defs "pharext.org" "hsts" - - - 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