MyNixOS website logo
option

services.pihole-web.ports

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.
Declarations
Type
list of (16 bit unsigned integer; between 0 and 65535 (both inclusive) or string or (submodule))
Example
[
  "80r"
  "443s"
]