Nginx reverse proxy or squid forward proxy (transparent)

nginxnode.jsreverse-proxysquidssl

I have to implement a proxy server in front of a running production server to route and secure the production-server. On the production server multiple node.js applications listening on different ports.

client1.example.com --> ProxyServer --> Application on LiveServer1 at port 3001
client2.example.com --> ProxyServer --> Application on LiveServer1 at port 3002
...
client100.example.com -> ProxyServer --> Application on LiveServer6 at port 3001

All subdomains should only be accessible via https and the user should not be noticed of any ssl-certificate problems (man-in-the-middle). I was looking into either using Squid or an nginx. What could you recommend for this setup?

Best Answer

squid is thought as being a proxy for workstations for example - you need a reverse proxy, so nginx is a good choice, I think.