news.volyx.in

Caddy – The Ultimate Server with Automatic HTTPS (caddyserver.com)

568 points by huang_chung · 533 days ago · 227 comments on HN

Article summary

Caddy is a web server that automatically obtains and renews TLS certificates for all sites, making it a secure and reliable solution. It also features a simplified configuration format, support for HTTP/2, and a modular architecture. Caddy is free software and relies on sponsorships to survive. The article highlights its features, including automatic HTTPS, load balancing, and high availability.

Main themes

  • Caddy web server
  • Automatic HTTPS
  • Web server security
  • Load balancing
  • High availability
  • Modular architecture

What commenters say

  • Caddy is a viable replacement for NGINX and Apache, offering a simpler configuration and robust features.
  • The marketing tone of the Caddy website is off-putting and lacks technical details.
  • Caddy's automatic HTTPS feature is a game-changer for local TLS setups, but may require exposing port 80 and 443 to the public internet.
  • Using Caddy with FrankenPHP can significantly improve PHP application performance, but may require disabling worker mode in some cases.
  • HTTP/2 requires encryption, which can be a challenge for local development, but Caddy's automatic HTTPS can help alleviate this issue.
  • Some commenters find Caddy's features and simplicity to be a major advantage, while others are concerned about the potential risks of trusting self-signed certificates.
  • There are workarounds for testing HTTP/2 locally, such as using a regular DNS name or a service like Traefik.me, but these may have their own drawbacks.
  • The need to buy a domain and obtain a certificate to test personal projects locally is seen as a significant hassle by some commenters.