I'm trying to use the atlassian/confluence-server image to run confluence. I want to use nginx as a reverse proxy so that it work with confluence.example.com
I have nginx configured, but what I'm having trouble with is the environment variables I need to specify in the docker-compose file to get it to work.
Can somebody help?
Could you clarify, please, nginx in docker or not ?
If not, when you run you can set host ip as upstream.
Because docker you run with mapping with some specific port, I hope
docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server
So, here's what I had to do to fix this.
1. I needed to set
2. I needed to set ATL_PROXY_PORT=443 (ssl is handled at the proxy level)
3. I needed to set ATL_TOMCAT_SCHEME=https
I had to muddle my way through the UI, removing the :8090 from the address at each click and change the Server Base URL to https://confluence.example.com
Everything is finally working. Thanks so much for your help Gonchik!
I should say, it "mostly" works. When I hit confluence.example.com, I'm redirected to confluence.example.com:8090/...
If I remove the :8090, I get the confluence login page. I have to keep removing the :8090 from the url.
Then, I see the error:
Looking at the instructions here: https://hub.docker.com/r/atlassian/confluence-server
I've set the ATL_PROXY_NAME variable to confluence.example.com
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
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