stream-lua-nginx-module
stream-lua-nginx-module copied to clipboard
Embed the power of Lua into NGINX TCP/UDP servers
1330009671cd86eaf045f9f2c5cda3727a94570f. Related: https://github.com/openresty/meta-lua-nginx-module/pull/73
This pull request adds `set_when` and `safe_set_when` methods to `ngx.shared.DICT`. It also adds `ngx_stream_lua_ffi_shdict_store_when` which is used in [Add shdict set_when and safe_set_when by hnakamur · Pull Request #268 ·...
Hey there, I'm looking to build a way to dynamically assign IP to requests as they come in. Been able to achieve that with `http` since it has both `access_by_lua_block`...
Something that was discussed in #22 (closed by completion) but never implemented was bind support for co-sockets. Any updates?
hello, i use the latest openresty is openresty-1.19.9.1 and the latest of stream-lua-nginx-module in stream-lua-nginx-module-0.0.11rc1 this is my configure command ```sh ./configure --prefix=/usr/local/openresty --with-luajit --without-http_redis2_module --with-http_iconv_module --with-stream --add-module=../stream-lua-nginx-module-0.0.11rc1 ``` the...
nginx: [emerg] "content_by_lua_block" directive is not allowed here ``` stream { # define a TCP server listening on the port 1234: server { listen 1234; content_by_lua_block { ngx.say("Hello, Lua!") }...
starttls
Does anyone have ideas on how starttls could be possible to accomplish with this module? Would likely need patches to nginx as well, but would be a nice feature that...
is there anything like a filter in stream-lua-nginx-module? like this: https://nginx.org/en/docs/stream/ngx_stream_js_module.html#js_filter in this filter we can do something with each packet. thank you!
Hi, Is there any plans for implementing similar feature as njs has for sendupstream/senddownstream ? Or is it already a solution for it in lua? https://nginx.org/en/docs/njs/reference.html#s_send_downstream This would have been...