varnish+nginx as backend and real IP

With default config nginx all IP addresses shows as localhost.
Here is configuration to show real client IP.

Snippet from varnish config:

Snippet from nginx config:

7 comments

Leave a Reply