nginx: fixed duplicate http declaration
This commit is contained in:
parent
91680de317
commit
8c61b3af03
@ -16,6 +16,8 @@ let
|
||||
error_log stderr;
|
||||
daemon off;
|
||||
|
||||
${cfg.config}
|
||||
|
||||
http {
|
||||
include ${cfg.package}/conf/mime.types;
|
||||
include ${cfg.package}/conf/fastcgi.conf;
|
||||
@ -86,18 +88,10 @@ let
|
||||
}
|
||||
}
|
||||
''}
|
||||
}
|
||||
|
||||
${cfg.config}
|
||||
|
||||
# Keep this seperate to allow overriding previous settings
|
||||
${optionalString (cfg.httpConfig != "") ''
|
||||
http {
|
||||
include ${cfg.package}/conf/mime.types;
|
||||
include ${cfg.package}/conf/fastcgi.conf;
|
||||
${cfg.httpConfig}
|
||||
}
|
||||
''}
|
||||
|
||||
${cfg.appendConfig}
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user