You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
it seems that lolisafe doesn't report the correct IPs on the "Manage uploads" tab from the admin interface. All the uploads have the same IP: ::ffff:127.0.0.1
I am not sure if this has something to do with nginx not passing the correct IP to the lolisafe daemon or if it is an error of lolisafe itself.
I am using the nginx config sample provided by lolisafe and nginx logs show the real visitor's address. Here is a sample of the access.log of nginx.
If you use nginx (or any http servers for that matter), you're actually using it as a reverse proxy for the node server. Which means you need to set trustProxy in config.js to true as well.
You only set trustProxy to false when the node server itself communicates directly with clients (no local http server acting as reverse proxies, no CDNs like Cloudflare, etc).
I'll update the comments in the sample config file at a later date, cause it seems I only mentioned CDNs.
Hello,
it seems that lolisafe doesn't report the correct IPs on the "Manage uploads" tab from the admin interface. All the uploads have the same IP: ::ffff:127.0.0.1
I am not sure if this has something to do with nginx not passing the correct IP to the lolisafe daemon or if it is an error of lolisafe itself.
I am using the nginx config sample provided by lolisafe and nginx logs show the real visitor's address. Here is a sample of the access.log of nginx.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: