Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Docker confluence server behind reverse proxy continually shows tomcat configuration popup

cmorgan-be August 16, 2019

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

0 votes
D N January 7, 2020

Any updates here?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events