proxy_connect_timeout
proxy_read_timeout
proxy_send_timeout
这三个参数可以配置超时时间,但是这个一个全局的,即所有请求都会应用该配置,我想要的是针对ngx.location.capture来做超时配置,这样就可以细粒度到具体的后端的某个服务。
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了Google网上论坛上的“openresty”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到openresty+...@googlegroups.com。
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/openresty/91f7e026-08d3-4744-80a3-dbe380a9e0fd%40googlegroups.com。