services.pihole-web.ports
NixOS option
Port(s) for the webserver to serve on. If provided as a string, optionally append suffixes to control behaviour: o: to make the port is optional - failure to bind will not be an error. s: for the port to be used for SSL. r: for a non-SSL port to redirect to the first available SSL port.
type: list of (16 bit unsigned integer; between 0 and 65535 (both inclusive) or string or (submodule))Default
[ ]
Example
declared in: nixos/modules/services/web-apps/pihole-web.nixView source on NixOS/nixpkgs →[ "80r" "443s" ]