mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
Merge pull request #141 from orbitz/fix-nginx-required-config
Fix nginx required config
This commit is contained in:
commit
25cd3579cb
@ -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 New Issue
Block a user