Welcome! Log In Create A New Profile

Advanced

Re: nginx: lua modules

PGNet Dev
August 21, 2022 01:10PM
> Want to use lua pages with nginx .
>
> Can you please suggest what are the correct modules ?.
> also where can i find the same?.

LUA support with nginx is third-party -- via OpenResty

https://www.nginx.com/resources/wiki/modules/lua/
https://openresty.org/en/

OpenResty is packaged as a standalone web platform, bundling a modified version of Nginx's opensource core.

It's possible, though not trivial, to extract lua bits from OpenResty source, and build for official Nginx.

In 2019, Nginx chose to develop its own native scripting tools -- njs,

https://github.com/nginx/njs/issues/179
https://nginx.org/en/docs/njs/

A useful example read re: Lua 'vs' njs script support/usage in Nginx,

https://www.rkatz.xyz/post/2021-09-13-nginx-njs-experiments/

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

nginx: lua modules

ramakanth varala August 21, 2022 07:32AM

Re: nginx: lua modules

PGNet Dev August 21, 2022 01:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready