We have just recently purchased and installed the Confluence starter pack on a Windows Server 2016. The initial setup was fairly easy, however we have our confluence behind a HAProxy server, so as soon as I login I get the error that my base URL is incorrect. I have gone through all the documentation that I can find regarding setting up the "server.xml" to know that it is behind a proxy. However, whenever I comment out the original, and un-comment the secure, behind a proxy, section, I get a 503 error and cannot connect to confluence any longer.
Any help would be greatly appreciated.