Welcome! Log In Create A New Profile

Advanced

Re: set arbitrary http header?

Francis Daly
February 01, 2013 02:54PM
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
Subject Author Posted

set arbitrary http header?

zacharyalexstern February 01, 2013 02:21PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 02:38PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 02:44PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 02:54PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 02:57PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 03:42PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 03:47PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready