wrong avatar url

Hello, I have a problem with the avatar display. See screenshot. 

the url for jira is https://jira.mysite.com/ but jira is trying to load the avatar over http http://jira.mysite.com. I checked the base url of jira and it is configured correctly to https://jira.mysite.com/. Here is my jira server setup

internet --> modem/router[port mapping 443] ---> nginx server with reverseproxy ---> jira server [running op port 8080].

Any help is appreciated

image.png

1 answer

1 accepted

2 votes
Jeremy Mooiman Community Champion Sep 05, 2017

Dear Jinxi,

What have you entered in your server.XML? Did you enter a HTTPS redirect port and such?

Friendly Regards,

Jeremy Mooiman

This is my config in server.xml

 

<Connector port="8080"

                  maxThreads="150"
                  minSpareThreads="25"
                  connectionTimeout="20000"

                  enableLookups="false"
                  maxHttpHeaderSize="8192"
                  protocol="HTTP/1.1"
                  useBodyEncodingForURI="true"
                  redirectPort="8443"
                  acceptCount="100"
                  disableUploadTimeout="true"
                  bindOnInit="false"/>

Dear Jinxi,

You should add the scheme and such;

scheme="https"
proxyName="yoursite.example.com"
proxyPort="443"

So;

<Connector port="8080"

                  maxThreads="150"
                  minSpareThreads="25"
                  connectionTimeout="20000"

                  scheme="https"
                  proxyName="yoursite.example.com"
                  proxyPort="443"

                  enableLookups="false"
                  maxHttpHeaderSize="8192"
                  protocol="HTTP/1.1"
                  useBodyEncodingForURI="true"
                  redirectPort="8443"
                  acceptCount="100"
                  disableUploadTimeout="true"
                  bindOnInit="false"/>

Friendly Regards,

Jeremy Mooiman

that solved the issue. Thank you! :-) :-) :-) :-)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

118 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you