The Caddy web server is an extensible, cross-platform, open-source web server written in Go.
1.1K

The name "Caddy" refers both to a helper for tedious tasks, and a way to organize multiple parts into a simplified system. At its core, Caddy is an extensible platform for deploying long-running services ("apps") using a single, unified configuration that can be updated on-line with a REST API. Official Caddy distributions ship with a set of standard modules which include HTTP server, TLS automation, and PKI apps. It is best known for its automatic HTTPS features.
Matthew Holt initially began solo development on Caddy in 2014, followed by the first public release in 2015. The software soon became a public collaboration with hundreds of contributors on GitHub. To satisfy requirements from a growing community with a variety of use cases, eventually Caddy was completely rewritten from scratch, and a version 2.0 was released on May 4, 2020.
Caddy binaries are officially distributed for Linux, Windows, macOS, BSD, and other operating systems on a variety of architectures including x86-64, ARM, MIPS, S390X, and PPC64. Official distributions of 32-bit binaries were discontinued, but Caddy can be compiled from source for IA-32 architectures. Packages for Debian, CentOS, RedHat, and Arch Linux are also maintained, as well as an official Docker image.
It's very easy, if we just have to copy and paste this code and everything is ready.
$ sudo docker run -it -p80:80 xaviblanes/caddy
# rc defaultContent type
Image
Digest
sha256:4ca36ce3b…
Size
19.3 MB
Last updated
almost 4 years ago
docker pull xaviblanes/caddy