Skip to content

Haproxy

services.haproxy.config

Contents of the HAProxy configuration file, {file}haproxy.conf.

Type: null or strings concatenated with "\n"

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/haproxy.nix

services.haproxy.enable

Whether to enable HAProxy, the reliable, high performance TCP/HTTP load balancer. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/haproxy.nix

services.haproxy.group

Group account under which haproxy runs. Type: string

Default

"haproxy"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/haproxy.nix

services.haproxy.package

The haproxy package to use. Type: package

Default

pkgs.haproxy

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/haproxy.nix

services.haproxy.user

User account under which haproxy runs. Type: string

Default

"haproxy"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/haproxy.nix