Hi All, I have written the Nginx module using subrequest with the main request body, and authorization based on the result of a subrequest (I consulted from https://github.com/openresty/srcache-nginx-module and http://nginx.org/en/docs/http/ngx_http_auth_request_module.html) But the subrequest start when the body read completely, so the delay time occurs when the request body size bigger
How can I make the request body is sent to the sub server immediately as it is received? Can I replace the main request body with the response of the subrequest? Thanks, Huy Le Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292011,292011#msg-292011 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx