I have 2 wordpress servers ws1 & ws1, both running nginx ws. I’ve configured haproxy’s backend for both. if I type the ws1 or ws2 url it works perfectly. If I hit the url for haproxy haproxy sends me to ws1, the url in the search bar says ws1, not the haproxy url, so pressing refresh simply reloads ws1. I’ve tried the same haproxy config but with ws1 and ws1 serving basic static web pages. It works exactly has expected, it alternates ws1 and ws2 and always shows the haproxy url.
I’ve spent days searching w/o finding this problem anywhere.
I’ve also posted in the wordpress forum. First response directed me here
Any thoughts would be greatly appreciated.