Lua script for Nginx that performs reverse proxy auth using JWT's
535
stars
119
forks
source link
*1 lua entry thread aborted: runtime error: access_by_lua(nginx.conf:23):2: attempt to perform arithmetic on global 'nginx' (a nil value) #52
Closed
BrianAdams closed 8 years ago
Anyone have any ideas on where to look for the issue? I am using the configuration from the tests/default.
I get this error regardless of the presence of the nginx-jwt.
If I change the name in the require I get the same message but with the updated name... so:
gives me an error:
attempt to perform arithmetic on global 'xnginx' (a nil value)
I have the lua_pacakge_path
And my folder structure: