···4747 ];
4848 description = ''
4949 Listen addresses and ports for this virtual host.
5050- <note><para>
5050+ <note>
5151+ <para>
5152 This option overrides <literal>addSSL</literal>, <literal>forceSSL</literal> and <literal>onlySSL</literal>.
5252- </para></note>
5353+ </para>
5454+ <para>
5555+ If you only want to set the addresses manually and not the ports, take a look at <literal>listenAddresses</literal>.
5656+ </para>
5757+ </note>
5858+ '';
5959+ };
6060+6161+ listenAddresses = mkOption {
6262+ type = with types; nonEmptyListOf str;
6363+6464+ description = ''
6565+ Listen addresses for this virtual host.
6666+ Compared to <literal>listen</literal> this only sets the addreses
6767+ and the ports are chosen automatically.
5368 '';
6969+ default = [ "*" ];
7070+ example = [ "127.0.0.1" ];
5471 };
55725673 enableSSL = mkOption {