Hacker News new | ask | show | jobs
by linkdd 796 days ago
IIRC, Lua in Nginx is deprecated in favor of the NodeJS module. I see more and more Nginx extensions written in JS, for SAML authentication, HTTP ACME challenge, etc...
2 comments

Do you mean njs? Or is there a really a NodeJS module?

https://nginx.org/en/docs/njs/

Yes, njs. My dumb mind expanded the "n" to "node".
It's maybe deprecated by the official Nginx support, but there are other projects and organizations that are offering Lua scripting with Nginx with all kinds of extensions and libraries.

See OpenResty website[0] and Github repo[1].

[0] - https://openresty.org/en/

[1] - https://github.com/openresty/