From b95cc0aa71cebfd972ef1f75e628b232b2824ac0 Mon Sep 17 00:00:00 2001 From: Florent Le Saout Date: Tue, 28 Jul 2020 20:07:42 +0200 Subject: [PATCH] Define proper htaccess instructions to redirect all http to https Signed-off-by: Florent Le Saout --- src/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/.htaccess b/src/.htaccess index de377bf..98c29a0 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -1 +1,4 @@ +RewriteEngine On +RewriteCond %{SERVER_PORT} 80 +RewriteRule ^(.*)$ https://www.astrolabe.coop/$1 [R,L] ErrorDocument 404 /404.html