Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
// 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