some resource are not using https scheme

Cheng Qiu November 25, 2017

Hi,

I configured jira after apache server with ssl.

everything works fine except that some uri are still served via http.

such as , secure/viewavatar, images/icons/issuetypes/story.svg.

Did I lost some things to configure?

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 25, 2017

Have you set the base url to https ?  And redirected http to it?

Cheng Qiu November 27, 2017

yes. base url was set correctly.

And rewrite settings of apache was set after proxy settings. Does this matter?  Should I put it before proxy settings ?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2017

Ok, the other thing that can do this is missing the port, proxy and security settings in the connector - do you have those in your server.xml ?

Cheng Qiu November 30, 2017

I have not modified server.xml yet. Actually I do not know where it is.

And I found that the http resources were return with 403 so that they were not redirected. I have sent email to my host provider to query about this issue.

But I'd like to take action on server.xml you mentioned first.

Where can I find guides about how to set server.xml?

Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 1, 2017

That file exists in the $JIRAINSTALL/conf/ directory.

As for guides on how to configure this, since you mentioned using Apache to handle SSL, I would recommend this guide:  Integrating JIRA with Apache using SSL.

This guide provides some sample configurations that should be setup for that kind of configuration.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2017

Thanks Andrew!

Cheng Qiu December 3, 2017

@Nic Brough -Adaptavist-@Andy Heinzer

Thanks. It's working!

Really appreciate your help

Suggest an answer

Log in or Sign up to answer