Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 :)

1 answer

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 Leaders.
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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events