Configure two proxyname in server.xml

Hi All,

      Our jira instance accessible by our internal users and it can be accessed via intranet

Due this tight security setup, we couldn't integrate the third party application with our JIRA instance. example ...Smartsheet

So, now we have created the external public faced FQDN(DNS) and allowed particular API- IP address to access the instance.

So now we have two DNS, one for private user access and another for third party applications to access it.

If we configure both DNS separately its works. 

Issue here is, how we can configure the two proxy name in server.xml configuration file? So that i can have one for internal users and another for third party integration without affecting anything?

Please advise

2 answers

1 accepted

I have achieved this by having two connector port in server.xml to handle this scenario. Configure 8080 and 8081 respectively for two different proxy name.

 

Allow one port for internal user and allow second port for third party integration. Please make sure you have tight security setup placed to make sure no data visibility for outside users.

 

 

That's incoming proxies, not what you asked about.  It'll work, but only partially, as the base url is wrong on one of your proxies.

Thanks Nic. As I mentioned in my answer, I can access the JIRA instance using two different proxy names. Thanks for your time on this topic

Thing is, for incoming connections, you don't need to do anything in the Tomcat.  You can have as many proxies forwarding to the Tomcat as you want.  The changes you've made are utterly irrelevant to what you're doing.

1 vote

The application cannot know which proxy it is supposed to use, so there's nothing you can do here.

You are running it on one url though aren't you?

Hi @Nic Brough [Adaptavist],

                 I have JIRA application which is allowed to access inside my corporate network. When Third party application hits to JIRA, it won't get response since my URL can be access inside the network.

 

To overcome this issue, I have created another URL and allowed third party application to access it.

 

So now I have two urls, one for private access and another one for third party application access it but I am not sure how to configure the two domain in jira

You don't.  It runs on a single URL

I know Atlassian must allow single base URL only. The second one I am going to use it for third party application integration not for users to access it.

 

Is that possible to configure to proxy in server.xml?

No, because JIRA needs to run on one url.  It has no way of knowing which proxy to use if you configure two.

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...

576 views 1 18
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