Skip to content

Instantly share code, notes, and snippets.

@thegulshankumar
Created October 24, 2017 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thegulshankumar/e67c69b5affd0ad18a572a8cd51498a2 to your computer and use it in GitHub Desktop.
Save thegulshankumar/e67c69b5affd0ad18a572a8cd51498a2 to your computer and use it in GitHub Desktop.
Redirect from HTTPS to HTTP
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
@thegulshankumar
Copy link
Author

Note: SSL is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment