Nginex reverse proxy separate servers

Hi there,

My nginex and seafile are two separate local servers.
What change do I have to do to point /seafmedia to my other server.
So currently I have:

location /seafmedia {
rewrite ^/seafmedia(.*)$ /media$1 break;
root /home/user/haiwen/seafile-server-latest/seahub;

I need to change root to point to a different server, etc. //


If possible, please remove this thread

You probably solved the problem? how did you fixed it?