Create a proxy server

Solution 1:

You need a forward proxy software.

NGINX is a reverse proxy which is not what you're looking for.

Also, product recommendations are off-topic on SE so which forward proxy to use is up to you to determine depending on your use case.