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 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,712 views 17 21
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