xyz2b opened a new issue #2113:
URL: https://github.com/apache/apisix/issues/2113


   ### Issue description
   
   How to modify lua_package_path and lua_package_cpath in nginx.conf ? I have 
config lua_package_path and lua_package_cpath in config.yaml -> nginx_config -> 
http,but it is not work!
   
   config.yaml
   `nginx_config:                     # config for render the template to 
genarate nginx.conf
     http:
       lua_package_path: 
"$prefix/deps/share/lua/5.1/?.lua;$prefix/deps/share/lua/5.1/?/init.lua;$prefix/?.lua;$prefix/?/init.lua;;$prefix/?.lua;./?.lua;$prefix/openresty/luajit/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;
   
/usr/local/share/lua/5.1/?/init.lua;$prefix/openresty/luajit/share/lua/5.1/?.lua;$prefix/openresty/luajit/share/lua/5.1/?/init.lua;"
       lua_package_cpath: 
"$prefix/deps/lib64/lua/5.1/?.so;$prefix/deps/lib/lua/5.1/?.so;;./?.so;/usr/local/lib/lua/5.1/?.so;$prefix/openresty/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;"
   `
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): apisix-1.5
   * OS: CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.18.1.el7.x86_64
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to