Add buildResolvers to the stream module (#9184)
This commit is contained in:
parent
424cc8671b
commit
275d5e15e7
1 changed files with 2 additions and 0 deletions
|
@ -736,6 +736,8 @@ stream {
|
|||
lua_package_path "/etc/nginx/lua/?.lua;/etc/nginx/lua/vendor/?.lua;;";
|
||||
|
||||
lua_shared_dict tcp_udp_configuration_data 5M;
|
||||
|
||||
{{ buildResolvers $cfg.Resolver $cfg.DisableIpv6DNS }}
|
||||
|
||||
init_by_lua_block {
|
||||
collectgarbage("collect")
|
||||
|
|
Loading…
Reference in a new issue