Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: set arbitrary http header?

$
0
0
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>