Rewrite rule help

Igor Sysoev is at rambler-co.ru
Sat May 30 10:00:58 MSD 2009


On Sat, May 30, 2009 at 07:21:06AM +0530, Anoop Alias wrote:

> Thank you Igor,
> 
> Sorry , that was the wrong apache rewrite rules
> 
> The correct one is
> ==================
> RewriteRule ^(/paos|/soap)(.+) / [NC,L,PT]
> ==================
> 
> This is the one that needs to be ported to nginx fomat

location /paos/ {
    proxy_pass  http://backend/;
}

location /soap/ {
    proxy_pass  http://backend/;
}


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list