Pass real client IP to web servers
Michael Shadle
mike503 at gmail.com
Thu Mar 26 09:01:20 MSK 2009
On Wed, Mar 25, 2009 at 4:53 PM, bdroste <nginx-list at forum.nginx.org> wrote:
> server {
> listen 80;
> server_name www.mydomain.com;
> location / {
maybe put this stuff here
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_pass http://serverpool;
> proxy_redirect default;
> }
> }
> }
> ----
More information about the nginx
mailing list