services.nginx.resolver.valid

NixOS option

By default, nginx caches answers using the TTL value of a response. An optional valid parameter allows overriding it

type: string
Default
""
Example
"30s"
declared in: nixos/modules/services/web-servers/nginx/default.nixView source on NixOS/nixpkgs →