Step 1 — Install nginx
SSH into your Ubuntu server.
Install nginx. Nginx is the web server that will sit in front of the app.
sudo apt-get update
sudo apt-get install -y nginx
If you want HTTPS later, also install certbot:
sudo apt-get install -y certbot python3-certbot-nginx
Check that nginx is running:
sudo systemctl status nginx
Screenshot
Step 1 — add later: /img/selfhost/ubuntu-nginx-cloud/01-install-nginx.png