Problems with rewrite

I’m having problems with rewrite, I have to download the Apache server
for a current ngix but I’m finding some errors with rewrite

nginx
rewrite ^/http-bind/ http://www.xxx.com:1010/http-bind/ break;
rewrite ^/ws-chat/(.*)$ http://yyy.xxx.com/$1 break;

Website Domain Names, Online Stores & Hosting | Domain.comhttp://www.xxx.com:1010/http-bind/
Website Domain Names, Online Stores & Hosting | Domain.comhttp://yyy.xxx.com/$1

Upon request it changes the field, he must not change as it is done in
the apache example below.

#APACHE
RewriteRule ^/http-bind/ http://www.xxx.com:1010/http-bind/ [P]
RewriteRule ^/ws-chat/(.*)$ http://yyy.xxx.com/$1 [P,QSA]

Website Domain Names, Online Stores & Hosting | Domain.comWebsite Domain Names, Online Stores & Hosting | Domain.com
Website Domain Names, Online Stores & Hosting | Domain.comWebsite Domain Names, Online Stores & Hosting | Domain.com

thanks

Posted at Nginx Forum:

Need to rewrite but that does not change the url, would you do that?

Posted at Nginx Forum:

On Fri, Jul 23, 2010 at 12:12 AM, jefersonph [email protected]
wrote:

Need to rewrite but that does not change the url, would you do that?

proxy_pass


O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

with proxy_pass i can send paramet ex: http://sss.aaaa.com/$1 ?

thanks for the help

Posted at Nginx Forum: