I am getting this when trying to start my nginx service
unknown directive "lua_package_path"
Can someone please help me understand what it is looking for? I have both lua-resty-openidc and lua-resty-hmac installed but I just don't know what to point this to.
There are now modules available for Nginx to enable lua/openresty functionality so for example you can install it on Debian (e.g. Ubuntu) based system:
This should then provide lua/openresty functionality - provided your system includes the correct modules in the
nginx.conf
file - as happens on Ubuntu - i.e. it contains a line like thisinclude /etc/nginx/modules-enabled/*.conf;
which should include a mod-http-lua.conf file containing: