Jira URL and Apache Reverse Proxy (redirect)

Rainer Scheuerer October 24, 2015

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
Rainer Scheuerer October 25, 2015

That was what i am looking for.

Now it works

Thanks

0 votes
Steven F Behnke
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.
October 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

Suggest an answer

Log in or Sign up to answer