Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a setup where I'm looking at running nginx behind a varnish cache. I currently use apache instead of varnish and use x-forwarded-for to have apache tricked into thinking the remoteip is the client ip address and not the proxy address.

I've been trying to google if this is possible with nginX, but so far I've not found any solid leads. Please tell me it is indeed possible!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

This sounds like it:

share|improve this answer
There is a link in the answer. – iny May 6 '11 at 11:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.