support custom configuration to main context of nginx config
This commit is contained in:
parent
23ce9b5db1
commit
1bacf1655e
4 changed files with 55 additions and 3 deletions
|
|
@ -41,6 +41,10 @@ events {
|
|||
use epoll;
|
||||
}
|
||||
|
||||
{{ if not (empty $cfg.MainSnippet) }}
|
||||
{{ $cfg.MainSnippet }}
|
||||
{{ end }}
|
||||
|
||||
http {
|
||||
{{ if not $all.DisableLua }}
|
||||
lua_package_cpath "/usr/local/lib/lua/?.so;/usr/lib/lua-platform-path/lua/5.1/?.so;;";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue