nginx module: fixup events in config
This commit is contained in:
parent
74b3ad148d
commit
3cf5d5ebed
@ -19,6 +19,8 @@ let
|
|||||||
${cfg.config}
|
${cfg.config}
|
||||||
|
|
||||||
${optionalString (cfg.httpConfig == "" && cfg.config == "") ''
|
${optionalString (cfg.httpConfig == "" && cfg.config == "") ''
|
||||||
|
events {}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
include ${cfg.package}/conf/mime.types;
|
include ${cfg.package}/conf/mime.types;
|
||||||
include ${cfg.package}/conf/fastcgi.conf;
|
include ${cfg.package}/conf/fastcgi.conf;
|
||||||
@ -96,6 +98,7 @@ let
|
|||||||
}''}
|
}''}
|
||||||
|
|
||||||
${optionalString (cfg.httpConfig != "") ''
|
${optionalString (cfg.httpConfig != "") ''
|
||||||
|
events {}
|
||||||
http {
|
http {
|
||||||
include ${cfg.package}/conf/mime.types;
|
include ${cfg.package}/conf/mime.types;
|
||||||
include ${cfg.package}/conf/fastcgi.conf;
|
include ${cfg.package}/conf/fastcgi.conf;
|
||||||
|
Loading…
Reference in New Issue
Block a user