The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira servicedesk mixed content error after migration

tapuzz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 29, 2022

Hello everyone. I'm pretty new to Jira and Jira service management, and have run into this problem:

After migrating a Data Center Jira instance to another server, Jira Servicedesk is trying to access stylesheets and js scripts with http, although the instance is running behind an nginx reverse proxy with ssl.

Error:

Mixed Content: The page at 'https://jira.example/servicedesk/customer/user/login?destination=portals' was loaded over HTTPS, but requested an insecure stylesheet 'http://jira.example/s/{some stylesheet}'. This request has been blocked; the content must be served over HTTPS.

Everything else functions normally within Jira over HTTPS.

Any help is appreciated :)

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Sargis Dallakyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2025

I have to edit conf/server.xml and change these lines every time we do updates:
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"

proxyName="www.domain.com"
proxyPort="443"
scheme="https"
address="127.0.0.1"
/>

The last lines after ... is what I'm adding and you need to replace www.domain.com with your url

 

0 votes
Andrew Laden
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 Champions.
September 29, 2022

Just a hunch. make sure your "base URL" setting is correct. (System -> General configuration)

Also, do you automatically redirect any non-https traffic to https?

 

For example I have the following in my nginx config.

server {
listen 80;
server_name jira jira.example.com;
return 301 https://jira.example.com$request_uri;
}

tapuzz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 29, 2022

I do redirect http to https and my base URL is set correctly.

any other ideas?

TAGS
AUG Leaders

Atlassian Community Events