set arbitrary http header?
Francis Daly
francis at daoine.org
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;
http://nginx.org/r/proxy_set_header for details.
> Is there a list of the variables similar to $remote_addr somewhere?
http://nginx.org/en/docs/http/ngx_http_core_module.html#variables
Other modules may provide other variables.
> Is $proxy_host possibly what we need?
Possibly.
It really depends on what you wish to achieve, which I don't think is
clear yet from this thread.
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list