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 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
Read article

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