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

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

Confluence Server in Docker - Tomcat config not generated

Hey Everybody,


I am having some trouble setting up the confluence server via the official docker image. I am setting the environmental variables as described on Docker Hub, but I am getting the same error everytime:


Tomcat config is incorrect

The Tomcat server.xml has an incorrect configuration:

scheme should be '<recommended scheme>'
proxyName should be '<recommended proxyName>'
proxyPort should be '<recommended proxyPort>'


I am aware of the cause of the problem but i am not understanding why this is happening. I have set up jira before a lot of times and the server.xml is getting generated correctly. I have checked the server.xml file inside the container and there is no connector defined there, which is the root cause of the problem. From setting up jira, i am used to this getting auto-generated with the environmental variables.

Is this not the case with confluence?

What am i missing here?

I am setting the following env variables with the appropriate values:



Thanks in advance and best regards

1 answer

I know this is a year late... but I found this to be the answer for my setup:

Editing the /opt/atlassian/etc/server.xml.j2 file

So that the scheme, proxyname and proxy port contains relevant information.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,368 views 7 28
Read article

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