JIRA behind SSL proxy and wrong URLs

Giovanni Tirloni August 21, 2015

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 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 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