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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

173 views 1 3
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