0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/server
Matthew Holt 55601d3ec2 letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts
Before, Caddy couldn't support graceful (zero-downtime) restarts when the reloaded Caddyfile had a host in it that was elligible for a LE certificate because the port was already in use. This commit makes it possible to do zero-downtime reloads and issue certificates for new hosts that need it. Supports only http-01 challenge at this time.

OCSP stapling is improved in that it updates before the expiration time when the validity window has shifted forward. See 30c949085c. Before it only used to update when the status changed.

This commit also sets the user agent for Let's Encrypt requests with a string containing "Caddy".
2016-01-03 17:05:10 -07:00
..
config.go Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
config_test.go Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
graceful.go Several improvements and bug fixes related to graceful reloads 2015-11-14 18:00:25 -07:00
server.go letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts 2016-01-03 17:05:10 -07:00
virtualhost.go Moved fileServer and browse.IndexPages into middleware package 2015-09-19 20:35:48 -06:00