wordpress-dev/production/config/wp-config-forward-headers.php

6 lines
145 B
PHP
Raw Permalink Normal View History

2020-03-09 20:14:10 +00:00
<?php
if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
?>