Varnish
Options
services.varnish.enable
Whether to enable Varnish process and expose utilities.
Type: boolean
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix
services.varnish.package
Which Varnish package to use.
Type: package
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix
services.varnish.extraModules
Varnish modules (except ‘std’).
Type: list of package
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix
services.varnish.listen
Which address to listen on.
Type: string
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix
services.varnish.memorySize
How much memory to allocate to Varnish.
Type: string
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix
services.varnish.vcl
Varnish VCL configuration.
Type: strings concatenated with “\n”
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/varnish.nix