Proxying Atlassian server applications with NGinx

Hi all, 

I tried to install Jira, Confluence and BitBucket behind a reverse proxy (Nginx)
The installation works without reverse proxy, but when I activate the reverse proxy by following tutorials,

I have the following problem:

Display problem, screens do not display images, javascripts, etc.
I have a Warning: Can not check base URL
And for Jira:
Project creation: XSRF check fail

Can you tell me where it could come from ?
Thank you

1 answer

0 votes

For confluence: That error is an indication that the confluence application can not reach the URL that the base URL is set to.  This is a requirement that the application be able to reach the network address of the base URL.  Some older versions of Jira/confluence could work without this requirement, but all recent versions need to allow the application itself to reach that own base url over the network.   You want to make sure that both the server Confluence is running on, and the confluence application itself can reach the network address that this base url is set to.   Jira also has the same requirement.

The Jira XSRF, is an indication that the proxy is redirecting traffic to Jira, but Jira is not aware of this.  You will want to check on the $JIRAINSTALL/conf/server.xml and make sure that you have included the proxyName, proxyPort, and scheme parameters in the connector that is being used to serve up content to that proxy.   If these don't exist, or are incorrectly set, I would expect Jira to throw this kind of error.   Please note that if you have to make changes to server.xml, after you save that file, you need to restart Jira for this change to take effect.

As for bitbucket, I'm not really an expert for this application, but I suspect it could be a combination of both of these other problems seen by Jira and Confluence.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot