services.caddy.globalConfig
NixOS option
Additional lines of configuration appended to the global config section of the Caddyfile. Refer to https://caddyserver.com/docs/caddyfile/options#global-options for details on supported values.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/services/web-servers/caddy/default.nixView source on NixOS/nixpkgs →''
debug
servers {
protocol {
experimental_http3
}
}
''