Добавляю на бекенд в секцию server

set_real_ip_from 192.168.0.11;
real_ip_header X-Real-IP;
real_ip_recursive on;

и "реальный" IP адрес становится равным 192.168.0.1 (адресу роутера).

P.S.
nginx 1.10.3 из репозитория nginx.org для Debian с --with-http_realip_module

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,273190,273194#msg-273194

_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить