[wp-trac] [WordPress Trac] #39659: Offloaded SSL Detection

WordPress Trac noreply at wordpress.org
Sat Jan 21 12:17:10 UTC 2017


#39659: Offloaded SSL Detection
-------------------------+-----------------------------
 Reporter:  miraclebg    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  HTTP API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Currently Wordpress supports detection only by checking the HTTPS
 environment variable (on,1).

 I would suggest also adding forwarded protocol headers - like ones coming
 from a SSL offloader (HaProxy for example) which would normally send in
 this case:

 HTTP_X_FORWARDED_PROTO=https

 It is currently impossible to do this otherwise unless manually editing
 the WordPress core.

 I am attaching a screenshot of the proposed change i have to do every time
 manually.

 Thank you!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39659>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list