Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to run JIRA on both Proxy name and Host name?

Ravichandra_Itagi August 24, 2018

We have configured SSL to jira with reverse proxy using NGNIX, Its working fine with Proxy name, but when we tried running Jira using Hostname or localhost its not running.

So both Proxy name and Host name uses the same port 9996.

We are looking for the solution to run Jira on both proxy name and Host name.

2 answers

0 votes
Nic Brough -Adaptavist-
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.
August 24, 2018

If the system is working ok when you use it on the proxy, then you don't have anything else to do really. 

It sounds like your network is (rightly) firewalling off direct access to the IP address, which you don't want to use anyway, because it won't work properly, as it's not going to be the base-url.

Ravichandra_Itagi August 27, 2018

Hello Nick,

I missed to use the context path name while running the JIRA, once I used conext path name its working fine.

How can we redirect JIRA from http to https?

Nic Brough -Adaptavist-
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.
August 27, 2018

Put a redirect in the http site.

0 votes
Moses Thomas
Community Champion
August 24, 2018

@Ravichandra_Itagihave you tried to  use host name  IP_Address:port  ?

for example: https:172.28.9.121: 9996 ,  if it worked with  IP   then  you will  need to  do  this  with DNS  setting.

 

Best!

Ravichandra_Itagi August 24, 2018

Yeah tried with IP address too but its not working with IP address too. 

It's only working fine with proxy name

Moses Thomas
Community Champion
August 24, 2018

@Ravichandra_ItagiOk  you still  need  to need to  configure NGNIX  to achieve  this

Ravichandra_Itagi August 24, 2018

May I Know what configurations do I need to do in NGINX still?

Moses Thomas
Community Champion
August 24, 2018

@Ravichandra_ItagiIn  /etc/nginx/nginx.conf  file will  need to  perform changes  incase of  Unix/Linux like operating system. so  if every  thing is working fine as you said,  host  name is the same as server  name but need  to   verify   that  host  name  in /etc/hostname

is the same you  are  using   in nginx.conf  file    and also   you  need to  verify your server IP address and server name  is  in /etc/hosts .

 

And also   check  fire wall  setting   because it should work  with  IP adress.

 

Ravichandra_Itagi August 27, 2018

Hi Moses,

I missed to use the context path name while running the JIRA, once I used conext path name its working fine.

How can we redirect JIRA from http to https?

Thank you.

Moses Thomas
Community Champion
August 27, 2018

@Ravichandra_ItagiI don't have this  requirement in my  configuration but i was hoping  that in  the nginx.conf   file  you  could do  some thing  like this

please test first  before  doing it  in production environment

location /
{
............
............

proxy_pass http://localhost:9998;
proxy_read_timeout 90;

proxy_redirect http://localhost:9998 https://IP_Adress:9989;

}

Suggest an answer

Log in or Sign up to answer