I hope someone can help me find the way to solve this ...
I have on a server (A) a deployment of a web application that Nginx uses to serve medium content (images, pdf, etc) and I have a server (B) that I need to serve medium content.
With which Nginx configuration directives do I connect my server (A) with (B) so that I can send the server content (B) to my web application?
PD. The folder that has the content on the server (B) is protected by username and password (I do not know where to put this data in the Nginx configuration)