mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
Merge pull request #5276 from abbradar/nginx-types
nixos/nginx: add more types
This commit is contained in:
commit
42e4e64577
|
@ -23,6 +23,7 @@ in
|
|||
services.nginx = {
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
description = "
|
||||
Enable the nginx Web Server.
|
||||
";
|
||||
|
@ -70,11 +71,13 @@ in
|
|||
};
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
default = "nginx";
|
||||
description = "User account under which nginx runs.";
|
||||
};
|
||||
|
||||
group = mkOption {
|
||||
type = types.str;
|
||||
default = "nginx";
|
||||
description = "Group account under which nginx runs.";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue