Created
November 27, 2014 14:06
-
-
Save deepakaryan1988/6280b512923cd57fc0de to your computer and use it in GitHub Desktop.
Redirect all traffic to https from http
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
Ref:- https://www.ndchost.com/wiki/apache/redirect-http-to-https | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment