It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Docker confluence server behind reverse proxy continually shows tomcat configuration popup

Starting things up via docker-compose. I'm using the CATALINA_xxx variables specified in the docker image page on hub.docker.com:

 

xxx_confluence:
image: atlassian/confluence-server
ports:
- "8090:8090"
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:zzz"
environment:
- CATALINA_CONNECTOR_PROXYNAME="zzz"
- CATALINA_CONNECTOR_PROXYPORT="80"
volumes:
- type: volume
source: aaa
target: /var/atlassian/application-data/confluence
networks:
- web
- db
restart: always

 

But I'm getting these tomcat popups saying:

 

Tomcat config is incorrect

The Tomcat server.xml has an incorrect configuration:

scheme should be 'https'
proxyName should be 'zzz'
proxyPort should be '443'

 

 

The problem is that if I set CATALINA_CONNECTOR_PROXYPORT="443", and the corresponding scheme and security to true the container isn't accessible, I think because the port is changing.

 

I'm also not able to find where to disable the base url plugin check, which would turn off that tomcat popup that happens on each page reload.

 

I had this fixed in the past by editing the server.xml but I'd like to avoid having to do so, then I'd have to edit it each time I brought the service up and down, it would require another manual step and customization for the hostname so I prefer using the environment variables. The tomcat popup is simply intolerable though...

 

1 answer

Any updates here?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

129 views 3 7
Join discussion

Community Events

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

Events near you