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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.