Created
September 5, 2015 02:20
-
-
Save ericakfranz/464ab33cf9c1a95b2242 to your computer and use it in GitHub Desktop.
Force SSL
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
#BEGIN Force SSL | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L] | |
#END Force SSL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment