From 349860f597f9038289c7528a255c140c8b3bc418 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 8 Mar 2019 16:36:31 +0100 Subject: [PATCH] add config --- etc/apache2.conf | 31 +++++++++++++++++++++++++++++++ public/index.html | 10 +++++----- 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 etc/apache2.conf diff --git a/etc/apache2.conf b/etc/apache2.conf new file mode 100644 index 0000000..c9cf3f8 --- /dev/null +++ b/etc/apache2.conf @@ -0,0 +1,31 @@ + + ServerName m6w6.name + ServerAlias www.m6w6.name + ServerAdmin webmaster@m6w6.name + + DocumentRoot /var/www/m6w6 + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Require all granted + + + + + Use m6w6_host_defs + RedirectPermanent / https://m6w6.name/ + + + + + Use m6w6_host_defs + Include "bits/hsts-nosub" + SSLEngine on + SSLUseStapling on + SSLCertificateFile /etc/letsencrypt/live/m6w6.name/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/m6w6.name/privkey.pem + + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/public/index.html b/public/index.html index b9036dd..e576259 100644 --- a/public/index.html +++ b/public/index.html @@ -175,20 +175,20 @@

Open source

- - + -- 2.30.2
pecl/http PHP HTTP Extension