Skip to content

services.http-proxy

services.http-proxy.enable

Whether to enable HTTP reverse proxy, TLS endpoint and load balancer.

Type: boolean

Default: false

Example: true

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.domainName

Domain name. For each service a virtualHost is configured as a subdomain.

Type: string

Default: ""

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.https.enable

Enable TLS and redirect all connections to HTTPS. Requires certificates. Supports ACME.

Type: boolean

Default: false

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.https.acme.enable

Enable Let’s Encrypt ACME TLS certificates. Requires public DNS records pointing to server and security.acme configured.

Type: boolean

Default: false

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.openFirewall

Open firewall for HTTP and HTTPS.

Type: boolean

Default: true

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.servers

List of upstream server host names used for all services.

Type: list of string

Default: [ ]

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.services

Configuraiton for each upstream service.

Type: attribute set of (submodule)

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.services..name

Name of the service.

Type: string

Default: "‹name›"

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.services..port

Upstream server port.

Type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: null

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.services..servers

List of upstream server host names.

Type: list of string

Default: [ ]

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix

services.http-proxy.services..version

This string will be served at path ‘/version’.

Type: null or string

Default: null

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/services/http-proxy.nix