From ac8fcc513136815dcf4f214db822d0e6252491a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Sajdl?= Date: Wed, 11 Jul 2018 17:41:04 +0200 Subject: [PATCH] Fix #42 - htaccess now looks at X-Forwarded-Proto --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index cb658e4..6d7339d 100644 --- a/.htaccess +++ b/.htaccess @@ -10,6 +10,7 @@ ErrorDocument 404 /404.php #DELETE THIS IF YOU DON'T HAVE HTTPS! RewriteEngine On + RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]