
Caddy Has a Free Web Server With Automatic HTTPS
Caddy is a free, open-source web server that automatically enables HTTPS for all your sites. No configuration needed for SSL certificates. What Is Caddy? Caddy is a modern web server written in Go. Its killer feature: automatic HTTPS with zero configuration. Key features: Automatic HTTPS (Let's Encrypt + ZeroSSL) Automatic certificate renewal HTTP/2 and HTTP/3 support Reverse proxy Load balancing File server Caddyfile (simple config format) API-driven configuration Single binary Extensible with plugins Quick Start # Install sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl -1sLf https://dl.cloudsmith.io/public/caddy/stable/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg sudo apt update && sudo apt install caddy # Or download binary https://caddyserver.com/download Caddyfile Examples Static File Server localhost { root * / var / www / html file_server } Reverse Proxy myapp.example.com { reverse_proxy localhost: 3000 }
Continue reading on Dev.to Webdev
Opens in a new tab




