Created
February 22, 2017 20:32
-
-
Save BacLuc/07b2375b6fceb1358d3807802bfbc4cf to your computer and use it in GitHub Desktop.
redirect to https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
RewriteCond %{HTTPS} off | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment