Hi,
Is it possible to set the timeout separately for each subrequest in capture_multi?
Something like:
local res_main, res_guard = ngx.location.capture_multi {
{
"/main" .. ngx.var.uri, { copy_all_vars = true, always_forward_body = true, timeout = 30000 } -- (in milliseconds)
},
{
"/static/lore_ipsum.txt", { timeout = 60000 }
}
}
Or i should use "proxy_read_timeout" for every location/upstream ?
BR
Hendersson