help request: nginx module call sequence and apisix call routing
Description
最近在使用apisix中发现一个情况:我在nginx中加载了一个module,然后开启了几个apisix插件,实际客户端调用的请求,是先经过我引入的模块,然后再调用插件的。这里想请教下,
1、apisix处理路由并转发是在哪个模块处理的
2、能否把我自己模块以及apisix插件的调用顺序换一下
我看了一下安装好apisix后nginx默认使用的modelue如下
,如果可以怎么修改。谢谢
Environment
- APISIX version (run
apisix version):2.13.2 - OpenResty / Nginx version (run
openresty -Vornginx -V):1.21.4.1
You could find the array ngx_modules[] in ngx_modules.c after run ./configure. This array is the correct order of execution.
apisix is the ngx_lua-$ver and ngx_stream_lua-$ver module in nginx (openresty build script), you could put your module behind these modules.
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.