Despite the right configuration in Nginx
proxy_pass_header Server;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
As well as this in the NextCloud configuration file
‘forwarded_for_headers’ => array(‘HTTP_X_FORWARDED_FOR’),
I can’t seem to have it working properly.
I followed this thread as well, no luck so far → How to get the real IPs in logs - #37 by wwe