Running Lua in Nginx configuration?

So it may just not be too bright or super bad when it comes to Google searches, but I cannot find a way to run Lua in Nginx configuration without recompiling the entire server using LuaJIT. The fact is that we would like to make tiny changes to some variables without having to recompile our server on each assembly, which can be as many as several times a week, less complicated = less than we could fix.

So my question is: is there a way to run Lua in Nginx configurations without having to recompile all this, since we would like Nginx to be updated by the system, and not be another thing that we need to support?

I found Nginx-extras when searching for Lua, but I can’t find any backup data, what should allow Lua to use or not?

+8
lua nginx
source share
1 answer

I found a solution for this, at least for people using Ubuntu, there is a supported working version of nginx that supports Lua and many other things, you just need to do:

apt-get install nginx-extras 

Instead of regular:

 apt-get install nginx 

Extra is not an additional package for nginx, it is a fully compiled server, you can go here to see another version that you may prefer:

http://www.cambus.net/nginx-packages-in-debian-stable/

https://wiki.debian.org/Nginx

Hope this helps you as much as I do.

+10
source share

All Articles