[wp-trac] [WordPress Trac] #34298: Amazon LB SSL / HTTP_X_FORWARDED_PROTO
WordPress Trac
noreply at wordpress.org
Wed Oct 14 14:07:57 UTC 2015
#34298: Amazon LB SSL / HTTP_X_FORWARDED_PROTO
--------------------------+------------------------
Reporter: OskHa | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by Jasonheffner):
I'm not sure if this helps or not .. we run behind several proxies as well
and set this in wp-config.php to handle inconsistencies how SSL is handled
in WP Core.
{{{
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
$_SERVER['HTTPS']='on';
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34298#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list