Created
February 28, 2013 21:59
-
-
Save jlengstorf/5060480 to your computer and use it in GitHub Desktop.
Apache configuration for forcing a secure connection to the site.
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 SSL | |
RewriteCond %{SERVER_PORT} !443$ | |
RewriteRule ^(.*)$ https://www.example.org/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment