How to Set Up a Reverse Proxy with Nginx
A reverse proxy terminates HTTPS on 443 and forwards to your app on localhost:3000 (or another port). Nginx is the usual choice.
Steps
Install Nginx:
sudo apt updatesudo apt install -y nginxCreate a site (example to 127.0.0.1:3000) under /etc/nginx/sites-available/app and enable it.