For a certain endpoint (/upload), I would like to sometimes (when content-type matches) create a subrequest which calls an upstream with proxy_pass to include content before the actual response, which is also provided via proxy_pass. This isn't working right now and is only returning the content of the subrequest's upstream. Is this even possible? Here's the config that I'm using: locby scompt - Nginx Mailing List - English