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 votes
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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,065 views 6 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
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