safe to call ngx_http_subrequest inside location handler?

jesse nginx-forum at
Tue May 28 08:03:07 UTC 2013


So according to evan miller's tutorial and nginx's own source code, it seems
only filters can send subrequests. But I have tried to call
ngx_http_subrequest inside my location handler, and everything seems working
fine. I am using version 1.2.8.

Just want to ask and see if it's safe to do so.

Thanks a lot!

Posted at Nginx Forum:,239619,239619#msg-239619

More information about the nginx mailing list