diff -u b/core/includes/bootstrap.inc b/core/includes/bootstrap.inc --- b/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -439,7 +439,10 @@ if (Settings::get('reverse_proxy') == TRUE) { // X-Forwarded-Proto is the most common convention for protocol information. if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') { - $is_https = 'on'; + $is_https = TRUE; + // To ensure that third-party code continues working + // They should however implement support for X-Forwarded-Proto on their own + $_SERVER['HTTPS'] = 'on'; } }