RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Last active
July 17, 2019 09:25
-
-
Save darkkain/6f7b29b9749dc7e15a20984350fea2e1 to your computer and use it in GitHub Desktop.
http to https
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment