I am experiencing the exact same problem. I can’t figure out why nginx is serving those files as a result of the login. Those files do not exist in the images folder. I am using the latest version of chrome.
Here’s what my nginx configuration file for librenms looks like:
server {
listen 80;
listen [::]:80;
server_name librenms.vlan10.home-cos;
return 301 https://librenms.vlan10.home-cos$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name librenms.vlan10.home-cos;
root /opt/librenms/html;
index index.php;
access_log /opt/librenms/logs/access_log;
error_log /opt/librenms/logs/error_log;
charset utf-8;
gzip on;
gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
ssl_certificate /config/auth//librenms.crt;
ssl_certificate_key /config/auth//librenms.key;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
ssl_protocols TLSv1.2;
ssl_ciphers ‘ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256’;
ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security max-age=15768000;
ssl_stapling off;
ssl_stapling_verify off;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location /api/v0 {
try_files $uri $uri/ /api_v0.php?$query_string;
}
location ~ .php {
include fastcgi.conf;
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass unix:/run/php-fpm-librenms.sock;
}
location ~ /.ht {
deny all;
}
location /nginx-status {
stub_status on;
access_log /opt/librenms/logs/access_log;
error_log /opt/librenms/logs/error_log;
allow 127.0.0.1;
deny all;
}
}