From d02859dd8b12bd1eca1f083132e4fc03cde7d65c Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Tue, 21 Dec 2021 18:15:04 -0800 Subject: feat: add ngx global variable to OpenResty library config --- meta/3rd/OpenResty/config.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/3rd/OpenResty') diff --git a/meta/3rd/OpenResty/config.lua b/meta/3rd/OpenResty/config.lua index 32ac9b29..979dd660 100644 --- a/meta/3rd/OpenResty/config.lua +++ b/meta/3rd/OpenResty/config.lua @@ -17,4 +17,9 @@ configs = { action = 'set', value = 'LuaJIT', }, + { + key = 'Lua.diagnostics.globals', + action = 'add', + value = 'ngx', + }, } -- cgit v1.2.3