lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

Embed the Power of Lua into NGINX HTTP servers

Results 196 lua-nginx-module issues
Sort by recently updated
recently updated
newest added
trafficstars

Relevant section of the OpenResty 1.19.9.1 config: ```nginx location @error { content_by_lua_file /var/www/lua/error.lua; } location / { error_page 500 @error; content_by_lua_file /var/www/lua/content.lua; } ``` `error.lua`: ```lua ngx.say(tostring(ngx.status)) ``` `content.lua`: ```lua...

Hi, I am using Nginx 1.19.5 with ngx_http_lua_module. We have been using ngx.location.capture(). Recently we use more server blocks. From the documentation, we expect subrequest is limited to the same...

To reproduce: ```lua location = /t { default_type 'text/test'; access_by_lua_block { ngx.header["Transfer-Encoding"] = "gzip" ngx.say('what') } } ``` (I don't expect the gzip to work, because how could it work...

I have a simple docker file with lua module: ``` FROM nginx:alpine RUN apk add --no-cache nginx-mod-http-lua COPY config/ /etc/nginx/ ``` and nginx.conf has these three lines: ``` load_module /usr/lib/nginx/modules/ndk_http_module.so;...

Hello, Firstly, thank you very much for your work. Can you implementing circuit breaker functionality ? The control of a service's SLA will be better by disabling calls to external...

I'm trying to configure and build ngx_lua with `./configure --with-compat --add-dynamic-module=../lua-nginx-module-0.10.16rc4/`, but it is unable to automatically find LuaJIT, and fails the LuaJIT 2.x check with `error: unsupported LuaJIT version;...

Versions: lua-nginx-module: 0.10.15 nginx core: 1.16.0 Hello, First of all congrats for this really nice module! I'm trying to use the lua-module to generate a log file containing the full...

I'm curious to know why you didn't provide async facilities in `body_filter_by_lua`. Is there any hard barrier in Nginx? I guess it would be possible to suspend a request within...

location /eads { default_type application/json; content_by_lua_file /home/a/share/tengine/lua/rpc_eads.lua; } location /rpc_eads/ { gzip on; proxy_connect_timeout 200ms; # optional; control backend timeouts proxy_send_timeout 200ms; # same proxy_read_timeout 200ms; # same send_timeout 200ms;...

I found lj_str_new high cpu usague 1. env OpenResty-1.15.8,OS:CentOS6,CPU: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz, 15 worker http request 8k ~10k,10w qps 2. lj_str_new high cpu usague when access_by_lua...