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

Mark Montminy March 27, 2015

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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