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