Created
September 11, 2019 19:27
-
-
Save mingodev/5cb44ae25ab43704598315a2424e850f to your computer and use it in GitHub Desktop.
Force SSL redirect
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
#Force https | |
RewriteCond %{HTTPS} off | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,NE] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment