Install Docker, put your app and Caddy in one Compose file, point your domain's A record at the server, and Caddy fetches an HTTPS certificate on the first visit.
# Caddyfile app.example.com { reverse_proxy app:3000 } # compose.yaml services: app: image: yourname/myapp:1.0 restart: unless-stopped caddy: image: caddy:2 restart: unless-stopped ports: ["80:80", "443:443"] volumes: - ./Caddyfile:/etc/caddy/Caddyfile - caddy_data:/data volumes: caddy_data: