Loading index.php +8 −1 Original line number Diff line number Diff line Loading @@ -40,6 +40,13 @@ if ( array_key_exists('PROTO', $forwarded) && strtoupper($forwarded['PROTO']) === 'HTTPS') { $_SERVER['HTTPS'] = 'on'; } } else { if ( isset($_SERVER['HTTP_X_FORWARDED_HOST']) ) { $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST']; } if ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtoupper($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'HTTPS' ) { $_SERVER['HTTPS'] = 'on'; } } if( isset($_SERVER['HTTPS']) ) Loading Loading
index.php +8 −1 Original line number Diff line number Diff line Loading @@ -40,6 +40,13 @@ if ( array_key_exists('PROTO', $forwarded) && strtoupper($forwarded['PROTO']) === 'HTTPS') { $_SERVER['HTTPS'] = 'on'; } } else { if ( isset($_SERVER['HTTP_X_FORWARDED_HOST']) ) { $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST']; } if ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtoupper($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'HTTPS' ) { $_SERVER['HTTPS'] = 'on'; } } if( isset($_SERVER['HTTPS']) ) Loading