nixos/nginx: document implicit default port 80

This commit is contained in:
Sandro
2023-10-22 21:32:50 +02:00
committed by GitHub
parent 448f34e913
commit f4d631c3d1
@@ -35,7 +35,10 @@ with lib;
};
port = mkOption {
type = types.nullOr port;
description = lib.mdDoc "Port number.";
description = lib.mdDoc ''
Port number to listen on.
If unset and the listen address is not a socket then nginx defaults to 80.
'';
default = null;
};
ssl = mkOption {