On 1/11/2016 2:46 PM, Lukas Tribus wrote:
> Did you patch wp-config.php as per [1] (and send the proper headers from
> haproxy, of course)?
<snip>
> [1] http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy

I already had the X-Forwarded-Proto header added to the request by the
front end.  It has never helped.

When I added the config mentioned on that wordpress info page and
switched haproxy back to the HTTP backend, it initially looked good
(links were all https), but then I found that I couldn't access the
admin pages.  It would let me log in successfully, and the blog itself
still worked, but then it told me I didn't have permission to access the
admin page.  As soon as I removed the extra config and switched haproxy
back to using SSL for the back end, everything was working again.  At
that point I upgraded wordpress and all plugins/themes.  I will try the
WP config changes again later to see if the upgrade helped.

Here's the post on Wordpress Support that I made six months ago, with no
response:

https://wordpress.org/support/topic/switch-ssl-to-haproxy-instead-of-apache

I have now commented on that post with this updated info.

Thanks,
Shawn


Reply via email to