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 :)
I have to edit conf/server.xml and change these lines every time we do updates:
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
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
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;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do redirect http to https and my base URL is set correctly.
any other ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.