Nginx 1.3.12 开发版发布

Nginx 发布最新的开发版 1.3.12,下载地址:nginx-1.3.12nginx/Windows-1.3.12

改进记录包括:

*) Feature: variables support in the "proxy_bind", "fastcgi_bind","memcached_bind", "scgi_bind", and "uwsgi_bind" directives.
*) Feature: the $pipe, $request_length, $time_iso8601, and $time_local variables can now be used not only in the "log_format" directive.
*) Feature: IPv6 support in the ngx_http_geoip_module.
*) Bugfix: in the "proxy_method" directive.
*) Bugfix: a segmentation fault might occur in a worker process if resolver was used with the poll method.
*) Bugfix: nginx might hog CPU during SSL handshake with a backend if the select, poll, or /dev/poll methods were used.
*) Bugfix: the "[crit] SSL_write() failed (SSL:)" error.
*) Bugfix: in the "client_body_in_file_only" directive; the bug had appeared in 1.3.9.
*) Bugfix: in the "fastcgi_keep_conn" directive.

转载于:https://www.cnblogs.com/kuaidianba/archive/2013/02/06/2900477.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
nginx的Windows本使用原生Win32 API(非Cygwin模拟层)。当前nginx/Windows只使用select作为通知方法,所以不要期待它有很高的性能和扩展性。鉴于这点和一些已知问题,nginx/Windows目前还处于beta阶段。nginx/Windows和Unix本相比,功能几乎已经齐全,除了XSLT过滤器、图像过滤器、GeoIP模块和嵌入Perl语言支持以外。 安装nginx/Windows,需要下载最新的1.3.13开发本,因为开发分支上包含了所有已知的问题修复,尤其是针对Windows本的问题修复。解压缩下载得到的zip文件,进入nginx-1.3.13目录,运行nginx。下面给出一个在C盘根目录下安装的例子: cd c:\ unzip nginx-1.3.13.zip cd nginx-1.3.13 start nginx 可以在命令行运行tasklist命令来查看nginx进程: C:\nginx-1.3.13>tasklist /fi "imagename eq nginx.exe" Image Name PID Session Name Session# Mem Usage =============== ======== ============== ========== ============ nginx.exe 652 Console 0 2 780 K nginx.exe 1332 Console 0 3 112 K 其中一个是主进程,另一个是工作进程。如果nginx没有启动,请查看logs\error.log文件以寻找失败原因。如果日志文件不存在,那失败原因会记录在Windows事件日志中。如果某次请求没有展示预想的页面,而是展示了错误页面,也请查看logs\error.log文件。 nginx/Windows使用工作目录作为前缀将配置文件中设置的相对目录补齐。就上面安装的例子而言,工作目录应该是C:\nginx-1.3.13\(工作目录基本上与运行文件所在的目录相同)。配置文件中的目录请使用“/”,而不是“\”做目录分隔: access_log logs/site.log; root C:/web/html; nginx/Windows作为标准控制台应用运行,而不是系统服务。可以用下面的命令控制: nginx -s stop 快速退出 nginx -s quit 优雅退出 nginx -s reload 更换配置,启动新的工作进程,优雅的关闭以往的工作进程 nginx -s reopen 重新打开日志文件
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值