Nginx 1.7.7 发布

jopen 10年前

Nginx(发音同engine x)是一款由俄罗斯程序员Igor Sysoev所开发轻量级的网页服务器、反向代理服务器以及电子邮件(IMAP/POP3)代理服务器。起初是供俄国大型的门户网站及搜索引擎 Rambler(俄语:Рамблер)使用。此软件BSD-like协议下发行,可以在UNIX、GNU/Linux、BSD、Mac OS X、Solaris,以及Microsoft Windows等操作系统中运行。

Nginx相较于Apache、lighttpd具有占有内存少,稳定性高等优势,并且依靠并发能力强,丰富的模块库以及友好灵活的配置而闻名。 在Linux操作系统下,nginx使用epoll事件模型,得益于此,nginx在Linux操作系统下效率相当高。同时Nginx在OpenBSD或 FreeBSD操作系统上采用类似于epoll的高效事件模型kqueue。

目前使用FastCGI+Nginx运行PHP应用时如果配置文件设置不合理,并不是十分可靠。建议使用NAMP架构(Nginx+Apache+Mysql+PHP),即使用Nginx处理静态请求,并将动态请求反向代理给Apache处理。
nginx.png

Nginx 1.7.7 发布了,下载地址:

改进记录包括:

*) Change: now nginx takes into account the "Vary" header line in a
   backend response while caching.

*) Feature: the "proxy_force_ranges", "fastcgi_force_ranges",
   "scgi_force_ranges", and "uwsgi_force_ranges" directives.

*) Feature: the "proxy_limit_rate", "fastcgi_limit_rate",
   "scgi_limit_rate", and "uwsgi_limit_rate" directives.

*) Feature: the "Vary" parameter of the "proxy_ignore_headers",
   "fastcgi_ignore_headers", "scgi_ignore_headers", and
   "uwsgi_ignore_headers" directives.

*) Bugfix: the last part of a response received from a backend with
   unbufferred proxy might not be sent to a client if "gzip" or "gunzip"
   directives were used.

*) Bugfix: in the "proxy_cache_revalidate" directive.
   Thanks to Piotr Sikora.

*) Bugfix: in error handling.
   Thanks to Yichun Zhang and Daniil Bondarev.

*) Bugfix: in the "proxy_next_upstream_tries" and
   "proxy_next_upstream_timeout" directives.
   Thanks to Feng Gu.

*) Bugfix: nginx/Windows could not be built with MinGW-w64 gcc.
   Thanks to Kouhei Sutou.