services.caddy.enableReload
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
- <nixpkgs/nixos/modules/services/web-servers/caddy/default.nix>