Last active
March 18, 2017 06:44
-
-
Save mosugi/8e6143fe688e18b32c27e9a2bcc1109c 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
if( isset($_SERVER['HTTP_X_SAKURA_FORWARDED_FOR']) ) { | |
$_SERVER['HTTPS'] = 'on'; | |
$_ENV['HTTPS'] = 'on'; | |
$_SERVER['HTTP_HOST'] = 'mosugi.com'; | |
$_SERVER['SERVER_NAME'] = 'mosugi.com'; | |
$_ENV['HTTP_HOST'] = 'mosugi.com'; | |
$_ENV['SERVER_NAME'] = 'mosugi.com'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment