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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 url not working outside the local network due to NGINX config

I want to move and merge confluence from Server A to Server B. Server B has some settings that allows the users to access confluence without the fully qualified url. So the users can type something like http://servername:8090/confluence; and can access it fine since those users are on the same network. But the problem occurs for the people who are outside the network

 

Now I want to change those settings on the server so anyone with the qualified domain name/url can access it. I think something needs to be updated on NGINX config but I am not sure what needs to be updated. See the current config looks like something below.

 

location /confluence {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://servername:8090/confluence;
client_max_body_size 10M;
}

 

Also, the base url is set to http://servername:8090/confluence which we prefer not to change if we can avoid it.

 

We are facing exactly similar issue in Jira as well

Any help in this regard would be much appreciated. thanks

1 answer

0 votes

What does "not working" look like?

Have you followed the instructions for setting up Nginx as a proxy in full (as you've only given us a snippet of your Nginx config and not mentioned the other things you need to do, I would guess not) 

It's pretty much the same setup for Jira and Confluence in the proxy - see https://confluence.atlassian.com/jirakb/configure-jira-server-to-run-behind-a-nginx-reverse-proxy-426115340.html

Keeping the same base url for the systems is not an option.  You must set it to the url upon which your users will be using to access it (i.e. the one the proxy presents)

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

177 views 0 6
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