Define proper htaccess instructions to redirect all http to https

Signed-off-by: Florent Le Saout <florent.lesaoutl@astrolabe.coop>
This commit is contained in:
Florent Le Saout 2020-07-28 20:07:42 +02:00
parent 693d6c8df9
commit b95cc0aa71

View File

@ -1 +1,4 @@
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.astrolabe.coop/$1 [R,L]
ErrorDocument 404 /404.html ErrorDocument 404 /404.html