Re: how Can I Cross Compile nginx web server for arm linux?

2021-11-23 Thread Francis Daly
On Tue, Nov 23, 2021 at 12:11:00AM -0500, vrezaei wrote: Hi there, > I have solved my problem by following instructions precisely. > https://programmer.help/blogs/cross-compiling-nginx-used-on-hi3536.html > it is a very good tutorial. Great that you found a recipe that compiles this version fo

Re: Enabling lua in Nginx 1.18.0

2021-11-23 Thread Francis Daly
On Tue, Nov 23, 2021 at 02:37:37PM +, BELUCHE Yannick wrote: Hi there, > $> nginx -t > nginx: [emerg] unknown directive "access_by_lua" in > /etc/nginx/nginx-lua-headers.conf:91 That form of message means that the matching module is not present in the running nginx. > However it seems by

RE: Enabling lua in Nginx 1.18.0

2021-11-23 Thread Thomas Ward
I misread your version sorry.  This needs a bug filed in Ubuntu as I think the Lua module being 'loaded' doesnt necessarily mean it works.  Unless someone has an easy fix for you, its possible this is a bug in that nginx version/lua module in the reposSent from my T-Mobile 5G Device Ori

RE: Enabling lua in Nginx 1.18.0

2021-11-23 Thread Thomas Ward
nginx upstream has nothing to do with the NGINX packages in Ubuntu.The Lua module in Ubuntu was removed and dropped by the Server Team's decision that supporting it requires excess work into the future that they were not willing to support as well as additional modules like resty core just to ma

Enabling lua in Nginx 1.18.0

2021-11-23 Thread BELUCHE Yannick
Hello, I installed Nginx and Nginx-extra on an Ubuntu Focal 20.04.2 LTS server. I wanted to use access_by_lua directive and I got an error : $> nginx -t nginx: [emerg] unknown directive "access_by_lua" in /etc/nginx/nginx-lua-headers.conf:91 However it seems by typing nginx -V that the http-lua