mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/nginx: document implicit default port 80
This commit is contained in:
parent
448f34e913
commit
f4d631c3d1
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue