Skip to content

Instantly share code, notes, and snippets.

@mono96
Created April 14, 2016 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mono96/bead2b1173361148653f44759d0d1d82 to your computer and use it in GitHub Desktop.
Save mono96/bead2b1173361148653f44759d0d1d82 to your computer and use it in GitHub Desktop.
// SSLを伝える
if( isset($_SERVER['HTTP_X_SAKURA_FORWARDED_FOR']) ) {
$_SERVER['HTTPS'] = 'on';
$_ENV['HTTPS'] = 'on';
}
@gotomori
Copy link

めちゃくちゃ感謝です

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment