mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-03 12:37:36 +08:00
CLI: added missing Lua path. (#1114)
This commit is contained in:
parent
ff4c4f5afb
commit
4a681af4cb
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
|
@ -103,6 +103,7 @@ worker_shutdown_timeout 3;
|
||||
{% if stream_proxy then %}
|
||||
stream {
|
||||
lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[/usr/local/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[$prefix/deps/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
|
||||
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
|
||||
@ -150,6 +151,7 @@ stream {
|
||||
|
||||
http {
|
||||
lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[/usr/local/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[$prefix/deps/share/lua/5.1/apisix/lua/?.lua;]=]
|
||||
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
|
||||
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
|
||||
|
Loading…
Reference in New Issue
Block a user