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