Hello!
On Fri, Mar 23, 2012 at 07:16:37AM -0400, niraj wrote:
> Hi
>
> I have write a one rewrite rule as below
>
> rewrite /auction(.*)$ http://192.168.1.210$1;
>
> This rewrite rule working fine for me.
>
> but the problem is it show the Ip address 192.168.1.210 also.
>
> I want to hide this IP , for that in apache flage [P] is there.
>
> but Nginx I dont know how to set proxy flag [P]. Please guide for the
> same.
Use
location /auction/ {
proxy_pass http://192.168.1.210/;
}
instead.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx