Create a gist now

Instantly share code, notes, and snippets.

Embed
// SSLを伝える
if( isset($_SERVER['HTTP_X_SAKURA_FORWARDED_FOR']) ) {
$_SERVER['HTTPS'] = 'on';
$_ENV['HTTPS'] = 'on';
}
@gotomori

This comment has been minimized.

Show comment
Hide comment
@gotomori

gotomori Aug 10, 2017

めちゃくちゃ感謝です

めちゃくちゃ感謝です

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