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 Sign up to answer
Community showcase
Posted yesterday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

21 views 0 1
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