Reverse proxy and URI rewrite

Hi all.

We have JIRA service desk on 'cloud' and I have set Nginx reverse proxy along with URI rewrite, the point is to have mycompanyname.atlassian.net rewriten to our company domain.

I've managed to get almost everything working, passing on the cookies as well, but I keep getting 403 for:

POST /rest/analytics/1.0/publish/bulk

So the login isn't working, I just get redirected to the same page.

Was getting 401 before setting up cookie proxy (atlassian.xsrf.token, JSESSIONID...).

I'm proxying from HTTPS(Nginx) to HTTPS(Tomcat), our A record is alive and SSL cert is fine, no problems there.

Can you please provide more info on the conditions why am I getting 403 from Atlassian Nginx or what needs to be set to mitigate this issue.

Thank you in advance.

2 answers

1 accepted

The 403 was related to Referer header, still problems with sign in as  the X-AUSERNAME header response stays 'anonymous'  after the actual login.

Same thing when reverse proxying with Apache 2.4. - anonymous x-ausername and loads the login page again.

Got official reply that Atlassian cloud apps don't support reverse proxying.

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 ...

3,104 views 13 19
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