Created
April 14, 2016 16:03
-
-
Save mono96/bead2b1173361148653f44759d0d1d82 to your computer and use it in GitHub Desktop.
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
// SSLを伝える | |
if( isset($_SERVER['HTTP_X_SAKURA_FORWARDED_FOR']) ) { | |
$_SERVER['HTTPS'] = 'on'; | |
$_ENV['HTTPS'] = 'on'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
めちゃくちゃ感謝です