From a0898c849ea8cedf78b73441dc930da4298832a1 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 11 Feb 2023 16:47:46 +0800 Subject: [PATCH] Update lua.conf --- plugins/openresty/conf/lua.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/openresty/conf/lua.conf b/plugins/openresty/conf/lua.conf index 24481c2b2..fd0ddba03 100644 --- a/plugins/openresty/conf/lua.conf +++ b/plugins/openresty/conf/lua.conf @@ -3,6 +3,9 @@ lua_package_cpath "{$SERVER_PATH}/web_conf/nginx/lua/?.so;{$SERVER_PATH}/openres lua_code_cache on; +#init_by_lua_file +init_by_lua_file {$SERVER_PATH}/web_conf/nginx/lua/empty.lua; + #init_worker_by_lua init_worker_by_lua_file {$SERVER_PATH}/web_conf/nginx/lua/empty.lua;