Last active
July 22, 2021 11:59
-
-
Save cadars/557c2eedea8adbf670d0fad3ef49e02c to your computer and use it in GitHub Desktop.
Force HTTP (note that it needs a valid https certificate to work ¯\_(ツ)_/¯)
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
| RewriteEngine On | |
| RewriteCond %{HTTPS} !=off | |
| RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment