Redirected port getting appended

We have a Load Balancer for JIRA (as of now we are having only one instance but we wanted this for future use)

IDEAL SCENARIO and LB is working fine as mentioned below

http:jira.example.com ---- > href="https://jira.example.com">http://server1:8080
https://jira.example.com
---> https://server1:7443

But once we implemented redirecting from port 8080 to 7443 , this port is getting appended on DNS name as well......that is when someone types http:jira.example.com it is taking to https:jira.example.com:7443(which doesn't exist)

My intention is it should be redirected to https:jira.example.com instead of https:jira.example.com:7443

IS there any settings/configuration where can fix this issue ?

1 answer

1 accepted

Modified server.xml

<Service name="Catalina">

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="443" useBodyEncodingForURI="true"/>

All calls will be diverted from LB server will be pointed to port 443, http:jira.example.com gets diverted to https:jira.example.com , if you want to access using your server name then it would be https://server1:7443 and only drwaback is http://server1:8080 will not work as it gets redirected to https://server1:443</span<>>

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot