Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would love access_by_lua_block #337

Open
nikhilro opened this issue Feb 11, 2024 · 3 comments
Open

Would love access_by_lua_block #337

nikhilro opened this issue Feb 11, 2024 · 3 comments

Comments

@nikhilro
Copy link

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 and balancer_by_lua_block but former missing here.

I want to switch to stream since proxying on L4 would be more efficient.

Thanks for considering!

Nikhil

@zhuizhuhaomeng
Copy link
Contributor

Hi
@nikhilro stream module supports access_by_lua_block & balancer_by_lua_block.
Which version of openresty did you use?

@nikhilro
Copy link
Author

nikhilro commented Feb 15, 2024

Oh, it does?

Version info:

~$ openresty -v
nginx version: openresty/1.25.3.1

After I got the error, I noticed TODO in README mentioned it doesn't either and created this issue.

@zhuizhuhaomeng
Copy link
Contributor

You can find the test cases under github.com/openresty/stream-lua-nginx-module/t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants