services.caddy.enableReload

NixOS option

Reload Caddy instead of restarting it when configuration file changes. Note that enabling this option requires the admin API to not be turned off. If you enable this option, consider setting grace_period to a non-infinite value in services.caddy.globalConfig to prevent Caddy waiting for active connections to finish, which could delay the reload essentially indefinitely.

type: boolean
Default
true
declared in: nixos/modules/services/web-servers/caddy/default.nixView source on NixOS/nixpkgs →