MyNixOS website logo
option

services.httpd.virtualHosts.<name>.listenAddresses

Listen addresses for this virtual host. Compared to listen this only sets the addresses and the ports are chosen automatically.

Declarations
Type
non-empty (list of string)
Default
[
  "*"
]
Example
[
  "127.0.0.1"
]