lua-nginx-module
lua-nginx-module copied to clipboard
Embed the Power of Lua into NGINX HTTP servers
nginx -c /etc/nginx/nginx.conf 2022/10/16 08:55:08 [alert] 2968#0: failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenRestyrelease from https://openresty.org/en/download.html (reason: /usr/lib/lua/resty/core/var.lua:44: /usr/lib/libluajit-5.1.so.2: undefined symbol: ngx_http_lua_ffi_var_get) in /etc/nginx/lighttpd.conf:71...
lua-nginx-module-master//src/ngx_http_lua_headers.c:1247:51: error: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique...
Please help to look at this problem: # version: luajit : 2.0.5 # https://github.com/openresty/luajit2/archive/refs/tags/v2.0.5.tar.gz lua_nginx_module : v0.10.14 # https://github.com/openresty/lua-nginx-module/archive/refs/tags/v0.10.14.tar.gz nginx-quic : nginx-1.21.1-RELEASE # https://hg.nginx.org/nginx-quic/rev/a68ac0677f85 # Htttp3 request an error is...
Dynamic upstream implemented via Lua, I want to add request headers in the upstream logic, what do I do?  I want to add a request header in balancer.balance() function...
Version: openresty-1.21.4.1 ### Descritpion If you do `ngx.say` without `ngx.flush`, and use cosockets to send messages, the message buffers would be appended to the busy buffer list and do not...
I want add a new lua context, but do not understand the limit
As README says, the parenthesis `( )` should be encoded to `%28 %29` as the default type, but actually it does not works fine(see figure 1, 2). > Since v0.10.16,...
Hi openresty team: I use this configure ``` location /test { content_by_lua_block { ngx.exit(ngx.HTTP_CONTINUE) } } ``` then ``` ➜ ~ curl 127.0.0.1/test -vv * Trying 127.0.0.1:80... * Connected to...
hello, I don't understand why openresty-jit does not need this code https://github.com/openresty/lua-nginx-module/blob/master/src/ngx_http_lua_util.c#L400 thank you for help me !!!
I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.