diff --git a/.htaccess b/.htaccess
index 9fded1e..9d2456b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,6 @@
-ErrorDocument 404 /404.html
\ No newline at end of file
+ErrorDocument 404 /404.html
+RewriteEngine On
+RewriteCond %{HTTP:X-Forwarded-Proto} !https
+RewriteCond %{HTTPS} off
+RewriteCond %{HTTP:CF-Visitor} !{"scheme":"https"}
+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
\ No newline at end of file
diff --git a/index.html b/index.html
index d43b7ab..cdd3ed1 100644
--- a/index.html
+++ b/index.html
@@ -66,8 +66,8 @@