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.
Hey Brian!
There are two things necessary to get Confluence working correctly behind a proxy.
<Connector port="8090" maxThreads="200" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" scheme="https" proxyName="APP.DOMAIN.org" proxyPort="443"/>
If you can, doing something like "wiki.yourcompany.com" is going to be less complicated than using a context path ("server.company.com/confluence").
Hope that helped!
Daniel
Daniel,
Thank you for the information. I have already configured the baseURL as you suggested in #2.
I just moved my scheme, proxyName, and ProxyPort up to the original section in the server.xml and it seems to have fixed the issue.
thank you for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, that is not true, I copied your settings above and replaced the upper section in my server.xml, and replaced scheme, proxyName, and proxyPort with my information and that fixed the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.