lua-nginx-module
lua-nginx-module copied to clipboard
Embed the Power of Lua into NGINX HTTP servers
ngx.process.enable_privileged_agent() can only create one special worker 。how can I create more then one special worker process ?
I want to get the response "hello" directly but that code above need to wait 5 seconds to get the response.
parent thread exec ngx.thread.wait(t1, t2), it only wait for the first thread, without considering other threads it waiting for. This will cause the parent thread beeing waked up by other...
Linux version 5.4.0-107-generic (buildd@lcy02-amd64-058) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 nginx 1.21.6, 1.19.3 both same fail. lua-nginx-module: 0.10.21 luajit: luajit2-2.1-20220411 ndk: ngx_devel_kit-0.3.1 Last...
Hi Team, While configuring nginx open source 1.20.1 or 1.21 or 1.22 with lua-nginx-module and set-misc-nginx-module getting error specified below. Modules: --add-module=../lua-nginx-module-master --add-module=../set-misc-nginx-module-master Configure Command: ./configure –prefix=/nginx-1.20.1 --sbin-path=/nginx-1.20.1/nginx --conf-path=/nginx-1.20.1/conf/nginx.conf --pid-path=/nginx-1.20.1/logs/nginx.pid...
Hi everyone, First of all, thanks for this awesome piece of software! I'm trying to use OpenResty to dynamically update the incoming request IP based on a query parameter. I...
Co-authored-by: Thibault Charbonnier I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.
Ported from [header_filter_by_lua](https://github.com/openresty/lua-nginx-module/commit/3f8a592a), I have try to add a new feature that add `ngx.exit()` in the context of `body_filter_by_lua`. But like in the context of `balance_by_lua_*`, we can not set...
Under MacPorts I ran into the following: for both nginx 1.22.0 (with static module) and nginx-devel 1.23.0 (with dynamic module) lua-nginx-module-0.10.21 fails to add the flags for arm64 machines. A...
I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project. **# Why do we need this PR?** When we use Cosocket...