forked from mirrors/nixpkgs
Set required nginx options and sane default
This commit is contained in:
parent
8e7bb847c6
commit
388d83c586
|
@ -5,6 +5,8 @@ with pkgs.lib;
|
|||
let
|
||||
cfg = config.services.nginx;
|
||||
configFile = pkgs.writeText "nginx.conf" ''
|
||||
user nginx nginx;
|
||||
daemon off;
|
||||
${cfg.config}
|
||||
'';
|
||||
in
|
||||
|
@ -20,7 +22,7 @@ in
|
|||
};
|
||||
|
||||
config = mkOption {
|
||||
default = "";
|
||||
default = "events {}";
|
||||
description = "
|
||||
Verbatim nginx.conf configuration.
|
||||
";
|
||||
|
|
Loading…
Reference in a new issue