Skip to content

cardano.http

cardano.http.enable

Whether to enable HTTP SSL proxy and load balancer for cardano services

This option has the following effects:

  • set networking.firewall.allowedTCPPorts to open port 80, and if https is enabled, port 443 as well
  • set services.http-proxy.enable to true, see the documentation for that option
  • set services.http-proxy.services.{ogmios,kupo}.{port,version} in order to automatically forward these services
  • set services.http-proxy.services.cardano-node.version to expose version
  • if either cardano.{ogmios,kupo}.enable is true, set services.http-proxy.servers to mkDefault [ "127.0.0.1" ] .

Type: boolean

Default: false

Example: true

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