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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,304 views 12 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