How can I move JIRA behind a reverse proxy without breaking old links?

Like many, we started with a single instance of JIRA. Now that we've added a bunch of other Atlassian apps to the mix, we'd like to put them all behind an apache2 reverse proxy so we have a consistent scheme moving forward, as well as other benefits.

My concern is, JIRA currently runs as a base url. Going to a path based reverse proxy means it moves from /, to /jira.

I can put up a simple re-write rule to handle redirecting a browser to /jira, but my concern is all the integrations out there our users have done that expect JIRA to be on /. For example, REST api calls don't work unless modified.

What I'm hoping to achieve is:

http://mysite.com/ works as always giving users access to JIRA
http://mysite.com/jira goes to jira, just like / does
http://mysite.com/stash goes to stash 
etc for each application 

I know enough about apache, mod_proxy and mod_rewrite to know I don't know how to do this, but it seems like it should be doable.

1 answer

0 votes
Timothy Chin Community Champion Mar 29, 2015

but my concern is all the integrations out there our users have done that expect JIRA to be on /

You can keep the domain name and get apache to do the redirection with mod_rewrite. Google for mod_rewrite tester to help you figure out the rewrites.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,476 views 15 19
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