Caddy Server: Modern Web Server
Caddy automatically obtains and renews SSL certificates via Let's Encrypt — no Certbot needed.
Install and Basic Caddyfile
apt update && apt install caddyyourdomain.com {
root * /var/www/html
file_server
encode gzip
}
api.yourdomain.com {
reverse_proxy localhost:3000
}HTTP/3: Caddy enables HTTP/3 by default. Make sure UDP port 443 is open in your firewall.