Web services used in production environments generally require log rotation, and the log format should be adjusted appropriately. Nginx log configuration is flexible and varied, and Caddy log configuration is similar, with some syntax differences.
The Caddy server is an open-source web server written in Golang that supports HTTP/2. It uses the Golang standard library to provide HTTP functionality. A notable feature compared to Nginx is that HTTPS is enabled by default. It is the first web server to provide HTTPS without additional configuration, a boon for lazy webservers. It can also be controlled via an API, has a rich set of plugins, and is easy to deploy and maintain.
When testing this site with Google PageSpeed Insights, the diagnostic results indicate that static files are not cached. In particular, downloading woff2 fonts takes a long time, impacting loading speed. Since this site uses the Caddy2 server, static file caching needs to be added. The configuration file syntax differs slightly from Nginx.
The Caddy server is an open-source web server written in Golang that supports HTTP/2. It uses the Golang standard library to provide HTTP functionality. A notable feature compared to Nginx is that HTTPS is enabled by default. It is the first web server to provide HTTPS without additional configuration, a boon for lazy people. It can also be controlled via the API, has a rich set of plugins, and is easy to deploy and maintain.