MyNixOS website logo
option

services.mediawiki.httpd.virtualHost.listen

Listen addresses and ports for this virtual host.

This option overrides addSSL, forceSSL and onlySSL. If you only want to set the addresses manually and not the ports, take a look at listenAddresses.
Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    ip = "195.154.1.1";
    port = 443;
    ssl = true;
  }
  {
    ip = "192.154.1.1";
    port = 80;
  }
  {
    ip = "*";
    port = 8080;
  }
]