rewrite proxy flag set problem

Igor Sysoev igor at sysoev.ru
Tue Mar 27 06:17:15 UTC 2012


On Tue, Mar 27, 2012 at 02:07:34AM -0400, niraj wrote:
> Hi
> 
>     Thnx for link.  We can not do the same with rewrite ?
> 
> for me with rewrite it was working but the only problem was that the url
>  not proxied. its show the 192.168.1.210 at user end instead showing the
> original server name(my case 192.168.1.45).
> 
> we can not solve that with rewrite ????

No, you cannot proxy with rewrite in nginx.

As to the rewrite usage itself, this is a wrong, cumbersome,
and ineffective way of configuration in both nginx and Apache.


-- 
Igor Sysoev



More information about the nginx mailing list