From: Michael Wallner Date: Fri, 8 Mar 2019 15:53:32 +0000 (+0100) Subject: add config X-Git-Url: https://git.m6w6.name/?p=pharext%2Freplicator.pharext.org;a=commitdiff_plain;h=8416a6d762f6d7309e0ed5262f3816014f6302b6 add config --- diff --git a/etc/apache2.conf b/etc/apache2.conf new file mode 100644 index 0000000..aeba207 --- /dev/null +++ b/etc/apache2.conf @@ -0,0 +1,33 @@ + + ServerName replicator.pharext.org + ServerAdmin webmaster@pharext.org + + DocumentRoot /var/www/replicator/public + + + SetEnv owners m6w6,pharext,mdref + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Require all granted + + ForceType application/phar + + + + + + Use replicator_host_defs + Redirect permanent / https://replicator.pharext.org/ + + + + + 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