6 lines
145 B
PHP
6 lines
145 B
PHP
|
<?php
|
||
|
if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
|
||
|
$_SERVER['HTTPS'] = 'on';
|
||
|
}
|
||
|
?>
|