We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19ec3a commit c213176Copy full SHA for c213176
gateway/bin/apicast
@@ -68,11 +68,11 @@ if ($rover && !$lua_path) {
68
$lua_lib ||= ';';
69
}
70
71
-$ENV{APICAST_DIR} = $apicast_conf;
72
73
-$ENV{LUA_PATH} = sprintf('%1$s/?.lua;', $apicast_src) . $lua_path;
74
-$ENV{LUA_CPATH} = sprintf('%1$s/?.so;', $apicast_lib) . $lua_lib;
75
+$ENV{APICAST_DIR} = $apicast_conf;
+$ENV{LUA_PATH} = sprintf('%1$s/?.lua;', $apicast_src) . $lua_path . "/usr/local/openresty/lualib/?.lua;";
+$ENV{LUA_CPATH} = sprintf('%1$s/?.so;', $apicast_lib) . $lua_lib;
76
$ENV{PWD} = $cwd;
77
$ENV{ARGV0} = $0;
78
0 commit comments