Created
May 10, 2016 18:49
-
-
Save elsehow/cd4b572e4ef150aa1d972dd26837d66f to your computer and use it in GitHub Desktop.
redirect all http traffic to https trafic, preserving subdomain
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^chat.cosmopol.is/$ [OR] | |
RewriteRule (.*) https://chat.cosmopol.is/$1 [L,R] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment