• This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #3788 Reply
      Tom
      Guest

      Hello,

      Thanks for your repo.
      I’ve installed nginx-core, luajit, libnginx-mod-http-lua, libnginx-mod-stream-lua, lua-resty-core.

      When I start nginx I received this error:

      nginx: [emerg] unknown directive “lua_package_path” in /etc/nginx/nginx.conf

      This is what I have included in nginx.conf:

      http {

      lua_package_path “/usr/share/lua/5.1/?.lua;;”;

      init_by_lua_block {
      require “resty.core”
      collectgarbage(“collect”) — just to collect any garbage
      }

      }

      Thanks for any pointers
      Cheers!

Viewing 0 reply threads
Reply To: unknown directive “lua_package_path”
Your information: