Hi there! Thanks for your answer!
In my module, ngx_module_type is set to HTTP, so ngx_module_order doesn't apply. I'm sorry, I'm not sure what "stock module" means, I guess it means a built-in module, i.e. a module that can be enabled or disabled just by the parameters of the "configure" script, without having to download the source code of the module, e.g. ngx_http_flv_module and ngx_http_rewrite_module. If I am correct, I will list below the questions I would like to ask and hopefully the questions below are clear and unambiguous. * How to control the order of execution between the dynamic stock module and my dynamic module. * How to control the order of execution between the dynamic stock module and my static module. * How to control the order of execution between my dynamic non-stock modules and my dynamic modules. * How to control the order of execution between dynamic non-stock modules and my static modules. * How to control the order of execution between static stock modules and my dynamic modules. * How to control the order of execution between static stock modules and my static modules. Regarding the last question, have I looked at https://forum.nginx.org/read.php?2,246978,246999#msg-246999 and can the answers there be used to control the order between the static stock modules and my static modules? ADD-SP ________________________________ 发件人: nginx <nginx-boun...@nginx.org> 代表 Francis Daly <fran...@daoine.org> 发送时间: 2021年3月14日 23:18 收件人: nginx@nginx.org <nginx@nginx.org> 主题: Re: About the order of execution of the modules. On Sun, Mar 14, 2021 at 08:55:20AM +0000, ADD SP wrote: Hi there, > I am a developer of third-party modules. Assuming that all modules are > registered in the same phase (e.g. NGX_HTTP_ACCESS_PHASE) I would like to > know the order of execution between dynamic modules. Can I control the order > of execution between dynamic modules? What is the order of execution between > static and dynamic modules? Can I control the order of execution between > static and dynamic modules? > Does the "ngx_module_order" content at http://nginx.org/en/docs/dev/development_guide.html#adding_new_modules answer your questions? If not: is there a specific order you wish to enforce between your modules and stock modules; or between your modules and other non-stock modules? Cheers, f -- Francis Daly fran...@daoine.org _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx