JIRA behind SSL proxy and wrong URLs

Is it really possible to run JIRA in HTTP mode and add a nginx proxy in front of it terminating the HTTPS connections? I have tried it a few times with JIRA 5.2 and discovered I couldn't: I had to run JIRA in HTTPS mode (Tomcat configured to serve HTTPS) so JIRA would correctly reference https:// URLs.

Just yesterday I upgraded this system to JIRA 6.4.10 and thought that would possibly be a solved issue. So I once again configured Tomcat 7 to serve HTTP only and configured nginx with SSL. Once again, I saw JIRA pages references HTTP URLs instead of HTTPS URLs, even though the Base URL was always set to be HTTPS.

The funny thing is that this works beautifully with Confluence and Tomcat 8.

1 answer

0 vote
Timothy Chin Community Champion Aug 21, 2015

I would think that it would be possible as nginx can proxy the secured connection to an unsecured Tomcat. Probably something you missed in the configuration.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

503 views 1 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