varnish
Options
Section titled “Options”services.varnish.enable
Section titled “services.varnish.enable”Whether to enable Varnish process and expose utilities.
Type: boolean
Default:
falseExample:
trueDeclared by:
services.varnish.package
Section titled “services.varnish.package”Which Varnish package to use.
Type: package
Default:
pkgs.varnishDeclared by:
services.varnish.extraModules
Section titled “services.varnish.extraModules”Varnish modules (except ‘std’).
Type: list of package
Default:
[ ]Example:
[ pkgs.varnish73Packages.modules ]Declared by:
services.varnish.listen
Section titled “services.varnish.listen”Which address to listen on.
Type: string
Default:
"127.0.0.1:6081"Declared by:
services.varnish.memorySize
Section titled “services.varnish.memorySize”How much memory to allocate to Varnish.
Type: string
Default:
"64M"Declared by:
services.varnish.vcl
Section titled “services.varnish.vcl”Varnish VCL configuration.
Type: strings concatenated with “\n”
Default:
'' vcl 4.0;
backend default { .host = "127.0.0.1"; .port = "80"; }''Declared by:

