set arbitrary http header?

Francis Daly francis at
Fri Feb 1 19:53:10 UTC 2013

On Fri, Feb 01, 2013 at 02:44:17PM -0500, zacharyalexstern wrote:

> Ah, so, we have this line:
> proxy_set_header X-Real-IP $remote_addr; for details.

> Is there a list of the variables similar to $remote_addr somewhere?

Other modules may provide other variables.

> Is $proxy_host possibly what we need?


It really depends on what you wish to achieve, which I don't think is
clear yet from this thread.

Francis Daly        francis at

More information about the nginx mailing list