How do I map a web folder on Server-A to a remote folder on Server-B?
I'm using Nginx as web server.
What I would like to accomplish is to offload the bandwidth of Server-A to Server-B.
will map/redirect to:
http://server-a/images/pic.jpg doesn't even need to actually be exist.
I don't want to use a proxy as it's pulling bandwidth from
Server-B -> Server-A -> End-User
I also don't want to use a 3rd party CDN in this case, because I would like to have custom access control and rules configured in Nginx.
I would like the image to be served directly from
Server-B -> End-User.
Can this be done?