hi
On Jul 24, 2012, at 6:57 PM, damacheng009 <damac...@gmail.com> wrote:
> unknown directive "proxy_http_version" ,目前稳定版不支持proxy_http_version吗?
参见 http://wiki.nginx.org/HttpProxyModule#proxy_http_version
其实 nginx 在 1.1.4 后才支持 upstream keepalive 的
>
>
> 2012-07-24
> damacheng009
> 发件人: damacheng009
> 发送时间: 2012-07-24 18:23:31
> 收件人: openresty
> 抄送:
> 主题: 关于ngx_http_upstream_keepalive
> 大家好:
> 我想在后端tomcat和前端openresty建立长连接,
>
> 使用ngx_http_upstream_keepalive模块,指令为:
> upstream back {
>
>
> server xxx;
>
>
> server xxx;
>
> keepalive 2048
> ;
> }
> 后端tomcat把maxKeepAliveRequests设为-1,keepAliveTimeout没设置,看文档说默认为60秒
> 这样设置后netstat -an还是发现了2W多个TIME_WAIT,看上去没有达到效果,请教下大家。
>
> 2012-07-24
> damacheng009
>
> --
> 邮件自: 列表“openresty”,专用于技术讨论!
> 发言: 请发邮件到 openresty@googlegroups.com
> 退订: 请发邮件至 openresty+unsubscribe@googlegroups.com
> 详情: http://groups.google.com/group/openresty
> 官网: http://openresty.org/
> 仓库: https://github.com/agentzh/ngx_openresty
> 建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp
> 教程: http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-zhcn.html
----
Regards
Hello Chan
--
邮件自: 列表“openresty”,专用于技术讨论!
发言: 请发邮件到 openresty@googlegroups.com
退订: 请发邮件至 openresty+unsubscribe@googlegroups.com
详情: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp
教程: http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-zhcn.html