-
Whether to enable Vinyl-cache Cache.
Type
boolean
Default
false
Example
true
Declarations
-
The varnish package to use.
Type
package
Default
pkgs.varnish
Declarations
-
This config triggers when no condition of another virtual host is met.
Its contents are appended to the config file.
Type
strings concatenated with "\n"
Default
''
vcl 4.0;
import std;
backend default {
.host = "0.0.0.0";
.port = "80";
}
sub vcl_recv {
return (synth(503, "Internal Error"));
}
''
Declarations
-
Addresses Vinyl Cache should listen on.
Unix sockets can technically be used for Vinyl Cache, but are not currently supported on the FCIO platform due to monitoring constraints.
Type
list of (submodule)
Default
[
{
address = "*";
port = 8008;
}
]
Declarations
-
This option has no description.
Type
strings concatenated with " "
Default
""
Declarations
-
This option has no description.
Type
attribute set of (submodule)
Default
{ }
Declarations
-
The port to use for IP sockets. If port is not specified, port 80 (http) is used.
Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix
-
If given an IP address, it can be a host name ("localhost"), an IPv4 dotted-quad
("127.0.0.1") or an IPv6 address enclosed in square brackets ("[::1]").
(VCL4.1 and higher) If given an absolute Path ("/path/to/listen.sock") or "@"
followed by the name of an abstract socket ("@myvinyld") accept connections
on a Unix domain socket.
The user, group and mode sub-arguments may be used to specify the permissions
of the socket file. These sub-arguments do not apply to abstract sockets.
Type
string
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix
-
This option has no description.
Type
string
Default
"req.http.Host == \"‹name›\""
Declarations
-
Permission of the socket file (3-digit octal value).
Type
null or string
Default
null
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix
-
This option has no description.
Type
strings concatenated with "\n"
Declarations
-
Name is referenced in logs. If name is not specified, 'a0', 'a1', etc. is used.
Type
null or string
Default
null
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix
-
User name who owns the socket file.
Type
null or string
Default
null
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix
-
This option has no description.
Type
string
Default
"‹name›"
Declarations
-
Group name who owns the socket file.
Type
null or string
Default
null
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/vinyl-cache/default.nix