Index: mantisbt/config_defaults_inc.php =================================================================== --- mantisbt/config_defaults_inc.php (revision 5166) +++ mantisbt/config_defaults_inc.php (working copy) @@ -69,7 +69,9 @@ # requires trailing / if ( isset ( $_SERVER['PHP_SELF'] ) ) { $t_protocol = 'http'; - if ( isset( $_SERVER['HTTPS'] ) && ( strtolower( $_SERVER['HTTPS'] ) != 'off' ) ) { + if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) { // Support ProxyPass + $t_protocol= $_SERVER['HTTP_X_FORWARDED_PROTO']; + } else if ( isset( $_SERVER['HTTPS'] ) && ( strtolower( $_SERVER['HTTPS'] ) != 'off' ) ) { $t_protocol = 'https'; }