nginx module: make httpConfig backward compatible
This commit is contained in:
parent
5dd7cf964a
commit
186a8400ed
|
@ -70,8 +70,14 @@ let
|
|||
|
||||
server_tokens ${if cfg.serverTokens then "on" else "off"};
|
||||
${vhosts}
|
||||
}
|
||||
${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