- Debian-like server (Debian, Ubuntu, etc)
- Node and NPM installed.
- Next.js app running on port 3000 (default). I highly recommend you to use PM2 for process management (restarts etc).
This will add 3rd party Deb repo and install Caddy 2.
apt install -y debian-keyring debian-archive-keyring apt-transport-https