Caddy (web server)
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Caddy is an extensible, cross-platform, open-source web server written in Go. 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.
Caddy is an extensible, cross-platform, open-source web server written in Go. 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.
Automatic HTTPS
By default, TLS is used automatically if any routes have a non-empty host matcher. These are assumed to be site names or IP addresses that Caddy is serving, so Caddy will automatically procure and renew certificates for the configured hostnames and IP addresses. When automatic HTTPS is activated in this manner, Caddy will also redirect HTTP requests to their equivalent HTTPS location. To automatically acquire the TLS certificates, Caddy implements the Automatic Certificate Management Environment protocol, allowing it to communicate with services like Let's Encrypt.
Development
The first git commit in the Caddy project was in 2014. Caddy version 1.0 was released on the 24th of April, 20191. At that point, the project had over 250 contributors. Caddy version 2 was released on May 5, 2020. Reviewers from Ars Technica say that it still has a simpler configuration file syntax than the Apache Web Server, although version 2's configuration format is largely incompatible with the previous major release of Caddy. , 0.2% of the sites scanned by W3Techs used Caddy.
Derivatives
CoreDNS, a project of the Cloud Native Computing Foundation.
See also
List of Go software and tools
References
External links
Text derived from https://en.wikipedia.org/w/index.php?oldid=1366435877 under CC BY-SA 4.0; modifications have been made.
References
1 claim could not be tied to a specific sentence and is listed in the table below instead.