Jira URL and Apache Reverse Proxy (redirect)

Hallo,

i installed JIRA on my Ubuntu (like confluence before).

And i am able to launch it. But i expected that i have to

open it through http://myubuntohost:8080/jira 

and not only http://myubuntuhost:8080 

Reason wy i am asking it.

I want to access JIRA from outside our company through apache reverse proxy (running on our public host)

ProxyPass        /jira           http://myubuntuhost:8080
ProxyPassReverse /jira    http://myubuntuhost:8080

BaseUrl in JIRA ist set to https://public_host/jira

but it doesn't work.

When i am launching it http://public_host/jira 

then i am redirected to https://public_host/secure/MyJiraHome.jspa

and get a Error 404 (Object not found).

Another JIRA Installation in our company ( on a Windows Host )

is working in this way (but it is launched internaly through http://windows_host:8080/jira

Can anyone help me?

Thank you in advance

 

2 answers

0 vote
Steven Behnke Community Champion Oct 24, 2015

I'm not too sure based on your explanation but I would assume that you would need to ensure that you've set the context path within the server.xml file. Perhaps this documentation will help: JIRA KB -- How to change the the JIRA application context path This file can be found within your installation folder. The default path is:

/opt/atlassian/jira/bin/server.xml

That was what i am looking for.

Now it works

Thanks

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

139 views 1 17
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