<div dir="ltr"><div><div><div>Hello,<br><br></div>I would like to trigger a subrequest that will call a location that has an upstream. What I am experimenting is a loop of subrequests, also if I do finalize on the subrequest in the subsequent calls to the filter. <br><br>if (r != r->main) <br>  { /* subrequest */<br>    ngx_http_finalize_request(r, NGX_HTTP_OK);<br>    return NGX_OK;<br>  }<br><br></div><div>Also I see an empty response from the server, instead of the actual body of the root page.<br></div><div><br>My expected behavior would be to issue an asynchronous upstream call through the usage of a subrequest when a particular value is set in the ctx.<br><br></div><div><br></div>Thanks,<br></div>Antonio<br></div>