Why a reverse proxy?
It sits in front of your apps to handle TLS, load balancing and routing.
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://app:3000;
proxy_set_header Host $host;
}
}
Add TLS with Let's Encrypt and you have a production-ready front door.