services.caddy.logDir
NixOS option
Directory for storing Caddy access logs. If left as the default value this directory will automatically be created before the Caddy server starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.
type: absolute pathDefault
declared in: nixos/modules/services/web-servers/caddy/default.nixView source on NixOS/nixpkgs →"/var/log/caddy"