Created
November 21, 2017 12:28
-
-
Save saiik/36a0bdcb80bbee050b2d9952e0bd1e92 to your computer and use it in GitHub Desktop.
.htaccess HTTP > 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 %{SERVER_PORT} !^443$ | |
| RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment