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