Hi again, After some searching on Nginx source code, eventually i did find out the issue. The issue was on module type. I had defined it as NGX_STREAM_MODULE, but it must be NGX_HTTP_MODULE because i did intend to add some features to upstream module. Also I had to change configuration directive from NGX_STREAM_SRV_CONF|NGX_CONF_NOARGS to NGX_HTTP_UPS_CONF|NGX_CONF_NOARGS. Type of ngx_*_ctx wby nima0102 - Nginx Mailing List - English
Hello everyone, Recently for some of our needs on Nginx, I am working to develop a new module on Nginx. So I have started to develop a test and basic module. My intention is to call a function before selecting one servers in upstream section. For this, I set NGX_STREAM_MODULE type. when running the nginx with new option "stream_test" in upstream configuration, I get below error : ERby nima0102 - Nginx Mailing List - English