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
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 t