[wp-trac] [WordPress Trac] #43698: 4.9.5 broke site behind load balancer, forwards to localhost

WordPress Trac noreply at wordpress.org
Tue Dec 1 05:45:22 UTC 2020


#43698: 4.9.5 broke site behind load balancer, forwards to localhost
--------------------------+----------------------
 Reporter:  ssuess        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.9.5
 Severity:  major         |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by peterwilsoncc):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This was discussed in a triage session today.

 As load balancers forward SSL headers and host headers in a variety of
 ways there's not much WordPress can do that's going to work universally.

 The common solution is to hard code the values of `$_SERVER['HTTPS']`,
 `WP_SITEURL` and `WP_HOME` to match what is expected at the load balancer.

 I saw you found the support forums for this, they are the best spot to ask
 so I am going to close this off as `invalid`, which is trac's unfriendly
 term to indicate this is best asked in support.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43698#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list