Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence running ubuntu nginx returns trailing slash

Thomas Burke
Contributor
May 14, 2018

I have a nginx server with several app and respective ports.

all seem to work fine addressing the correct app . when . use 

server {
listen 80;
server_name confluence.domain.com;

   location / {
   proxy_pass http://atlassian.domain.com:8090;
   }
}

however , when I use above config 

I always get a return with an extra trailing slash / 

http://atlassian.domain.com:8090//

Oops - an error has occurred . due to extra slash, when I take that slash out the login appears fine.

At first I thought this was nginx . but if I remove remove nginx.conf record and reload conf  I get same behavior of trialing slash /

 Anyone know perhaps where this slash is coming from or where to to look?

thanks

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2018

Please make sure there is no extra slash in your base URL: Configuring the Server Base URL Also, that the server.xml has the proxy support:

Proxies. If you are running behind a proxy, ensure that the proxy name matches the base URL.  For example: proxyName="foobar.com" proxyPort="443" scheme="https". This will make sure we are passing the information correctly.  

This information needs to be added in the Connector element at {CONFLUENCE_INSTALLATION}\conf\server.xml.

You mentioned other apps so I wanted to make sure you saw the doc for Confluence and NGINX since there is an extra entry for Synchrony (collaborative editing JVM). How to use NGINX to proxy requests for Confluence

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events