Merge pull request #262796 from SuperSandro2000/patch-1

nixos/nginx: document implicit default port 80
This commit is contained in:
Ryan Lahfa 2023-10-23 11:04:54 +01:00 committed by GitHub
commit d1ee91c22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {