3 ms·
For backend nginx instances (we use nginx to balance application servers, and nginx right in front of Unicorn on those application servers) use the Real IP modu
by WALoeIII 14y ago
For backend nginx instances (we use nginx to balance application servers, and nginx right in front of Unicorn on those application servers) use the Real IP module to have logs transparently show the original request IP not the load balancer's IP.
http://wiki.nginx.org/HttpRealipModule http://wiki.nginx.org/HttpRealipModule