Images not displaying but only on Safari


I’ve searched the forums and found a few related inquiries but they seemed to be different or on quite old versions of Matomo. My setup is as follows:

  1. I have recently put my server running Matomo (Ubuntu 16.04 with Apache) behind a reverse proxy (Nginx).

  2. I had to delete my SSL certificates and install them on the reverse proxy server. Took a bit of studying but I have that all setup. The machine that serves Matomo is now set up with http (not https). Https is on the Nginx machine.

  3. My Matomo site now serves via my reverse proxy but with a couple of seemingly small (I hope) issues. They are;

a. The logo images do not display…but oddly this is only observed when viewing my site via Safari. They display fine in Chrome and Firefox.

b. Attempting to add the “Visitor Profile” widget results in the following error: “Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please [contact your Matomo administrator](mailto → for assistance.”

Neither of these are deal breakers for me but if possible I would like to fix them.

I have modified some settings via config.ini.php such as:

assume_secure_protocol = 1
proxy_client_headers[] = HTTP_WAF_FORWARDED_FOR
proxy_client_headers[] = HTTP_LB_FORWARDED_FOR
proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
proxy_host_headers[] = "HTTP_X_FORWARDED_HOST"
proxy_ips[] = 192.168.*.*/60 <--- 60 is my Nginx machine

and my Nginx reverse proxy with:

proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Uri var/www/html/;

If anyone has any ideas about what I’m doing wrong I would very much appreciate any help that can be provided.