Created
September 28, 2016 09:01
-
-
Save Kaiderella/df060d32080764373c21f856b3a36fff to your computer and use it in GitHub Desktop.
Redirect toàn bộ link từ HTTP sang HTTPS
This file contains 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
# Redirect all links from HTTP to HTTPS | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment