Created
March 18, 2017 06:43
-
-
Save mosugi/0a4c44b8ed91b1930322eb5917cfab9c to your computer and use it in GitHub Desktop.
さくらインターネット SSL
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
# RewriteCond %{HTTPS} off | |
RewriteCond %{HTTP:X-Sakura-Forwarded-For} ^$ | |
RewriteRule ^(.*)$ https://mosugi.com/$1 [R=301,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment