regex in proxy_pass
pablo platt
pablo.platt at gmail.com
Mon Feb 8 00:14:06 MSK 2010
Hi
Hi
I'm trying to proxy requests
from http://example1.com/test/some/path
to http://test.example2.com/some/path
I've tried:
location ~ ^/(.*)/ {
proxy_pass http://$1.example2.com;
proxy_buffering off;
proxy_read_timeout 3600;
}
How can I do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100207/0e9577a4/attachment.html>
More information about the nginx
mailing list