HTTPS base URL not applied correctly

Our Jira instance is behind an F5, which applies TLS. The connection between Jira and the F5 is unsecured over port 8080.

The base URL in Jira settings is https://<instance_name>:8080.

Jira seems to ignore this, and instead redirects to http://<instance_name>:8080. The Jira logs also show that the base URL is http:// not https://, as shown in the settings UI.

What needs to be done to force Jira to use the base URL entered in the settings?

1 answer

1 accepted

0 votes
Dieter Community Champion Oct 10, 2012
It is not common to run SSL over the port 8080. I'd have expected you want your end users to use https://<instance-name> (port 443) in the browser and thus configure this base URL in JIRA. Why did you choose this base URL?

As a general rule, the comfigured base URL must match the scheme, the server and port that returned by the servlet API. You can configure these values using the parameters scheme="https", proxyName="instance_name" and proxyPort=8080 in the definition of connector of port 8080 in server.xml. I'd also suggest to remove the parameter redirectPort from the definitiom of port 8080

Though written for Apache reverse proxy the general rules about the base url apply to any kid of firewall in front of Jira. Please read this: https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

Hi Dieter,

Thanks for the prompt and thorough response. I updated my server.xml based on the suggestions above and the issue is resolved.

Thanks!

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,755 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