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

issue use lua code beside modsecurity module #2300

Closed
kikamorasuzuki opened this issue Mar 27, 2024 · 2 comments
Closed

issue use lua code beside modsecurity module #2300

kikamorasuzuki opened this issue Mar 27, 2024 · 2 comments

Comments

@kikamorasuzuki
Copy link

How can I determine that the code executed in the access_by_lua run after modsecurity module is executed. Currently, I have tested and found out that they are running at the same time and lua code send response to client faster . What is the solution that specifies the order of the modules? I want be first modsec after that run my lua code...
and big thanks to openresty to create this

@zhuizhuhaomeng
Copy link
Contributor

https://github.com/openresty/lua-nginx-module?tab=readme-ov-file#access_by_lua_no_postpone
By default, the acess_by_lua runs at the end of the access phase.

@kikamorasuzuki
Copy link
Author

kikamorasuzuki commented Mar 28, 2024

https://github.com/openresty/lua-nginx-module?tab=readme-ov-file#access_by_lua_no_postpone By default, the acess_by_lua runs at the end of the access phase.

thank you

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