I configured Confluence to run behind Apache 2.4 SSL, following the corresponding guides I found in the Atlassian documentation, everything seems to work fine, except I find this error anytime I log in to the interface:
Tomcat config is incorrect
The Tomcat server.xml has an incorrect configuration:
scheme should be 'https'
proxyName should be 'subdomain.domain.corp'
proxyPort should be '443'
Also, my server still responds on port 8090.
This is the relevant config in server.xml, other connector sections are commented as recommended in the very same file. As you can see, the fields values displayed
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
scheme="https" secure="true" proxyName="subdomain.domain.corp=" proxyPort="443"/>
and this is my config in httpd.conf
Require all granted
ProxyPass / http://domain.corp:8090/
ProxyPassReverse / http://domain.corp:8090/
Any help is really appreciated, i wouldn't like to disable the Base URL plugin as suggested here, before making sure nothing is badly configured.
Also, why the server is still answering in port 8090? shall I block this port in Iptables?
My usual mistake is doing all the right things in the server.xml, but forgetting to uncomment the connector I have modified, so it carries on using the old one.
Your connector looks right to me, so I'm guessing it's not being read by Tomcat, rather than it being wrong!
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events