User avatar image breaks when running behind a Load Balancer/Reverse Proxy
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The user avatar is broken for users that are using the default avatar :

List of related issues:
Environment
Confluence running behind a Reverse Proxy/Load Balancer.
Diagnosis
The default avatar that Confluence uses is a .svg image stored locally on <confluence-install>/confluence/images/icons/profilepics/default.svg. To see if Confluence can reach the image, try accessing the image URL:
1
http://<confluence-URL>/images/icons/profilepics/default.svg
If the URL can be accessed, the browser will display the default.svg image.
Cause
If the URL can not be accessed and no image is being displayed, then it's possible that the Load Balancer/Reverse Proxy is blocking it.
Solution
Make sure the Load Balancer/Reverse Proxy is properly set. Here are some useful articles documenting the configuration of NGINX and Apache as Reverse Proxies:
Was this helpful?