On 12/16/2015 11:25 PM, Vincent Bernat wrote: > From the point of view of Wordpress, you tell it that https is used. > It doesn't need to know that you are using clear text between HAProxy > and the backend.
Can anyone provide information about how to configure wordpress to do this? I put haproxy in front of my personal wordpress install, and spent a lot of time finding http:// references in the database and changing them to https://. I updated the site URL in wp-config.php, plus I tracked down every SSL/TLS option I could find and configured Wordpress accordingly. Even after all that, unless I use TLS on the Apache back end, wordpress continues to use http for things like links and images generated by the PHP code. I would prefer to make the back end unencrypted, but I cannot make it work properly. Once I configure haproxy to use the encrypted virtualhost, everything works. I realize this is not exactly on-topic for this list. I did ask about it on a wordpress site quite some time ago, but never got a response. Thanks, Shawn

