[文章作者:张宴 本文版本:v1.1 最后修改:2008.06.19 转载请注明原文链接:http://blog.zyan.cc/post/352/]

  Nginx 超越Apache的高性能和稳定性,使得国内使用 Nginx 作为 Web 服务器的网站也越来越多,其中有新浪、网易、腾讯等门户网站,六间房、酷6等视频分享网站,Discuz!、水木社区等知名论坛,豆瓣、YUPOO等新兴Web 2.0网站。

  Nginx 在国内的应用正在不断发展壮大!

  一、使用 Nginx 运行 PHP(FastCGI) 程序的网站:

  1、六间房视频(http://www.6.cn/):nginx/0.6.14 + PHP
[root@new-host ~]# curl --head http://6.cn/reg.php
HTTP/1.0 200 OK
Server: nginx/0.6.14
Date: Wed, 18 Jun 2008 00:58:20 GMT
Content-Type: text/html
Vary: Accept-Encoding
X-Cache: MISS from YZ-W-146
X-Cache-Lookup: MISS from YZ-W-146:80
Via: 1.0 YZ-W-146 (squid/3.0.STABLE1.dev)
Connection: close


  2、Discuz!官方论坛(http://www.discuz.net/):nginx/0.7.2 + PHP/5.2.6
[root@new-host ~]# curl --head http://www.discuz.net/index.php
HTTP/1.1 200 OK
Server: nginx/0.7.2
Date: Wed, 18 Jun 2008 00:57:16 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.6
Set-Cookie: dznet_sid=Ek9XYc; expires=Wed, 25-Jun-2008 00:57:16 GMT; path=/; domain=.discuz.net


  3、互联星空播客[新浪服务器](http://you.video.vnet.cn/):nginx/0.5.33 + PHP/5.2.5
[root@new-host ~]# curl --head http://you.video.vnet.cn/pg/user/userHead.js.php
HTTP/1.1 200 OK
Server: nginx/0.5.33
Content-Type: text/html; charset=gb2312
X-Powered-By: PHP/5.2.5
Expires: Sun, 13 Jul 2008 05:43:16 GMT
Last-Modified: Fri, 13 Jun 2008 05:43:16GMT
Content-Encoding: gzip
Content-Length: 22403
Date: Wed, 18 Jun 2008 01:09:33 GMT
X-Varnish: 1426517043 1413292132
Age: 415577
Via: 1.1 varnish
Connection: keep-alive


  4、水木社区(http://www.newsmth.net/):nginx/0.5.35 + PHP
[root@new-host ~]# curl --head http://www.newsmth.net/img_rand/img_rand.php
HTTP/1.1 200 OK
Server: nginx/0.5.35
Date: Wed, 18 Jun 2008 00:59:01 GMT
Content-Type: image/png
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Set-Cookie: PHPSESSID=fbb54a90ff0d42f92f49978512902a20; expires=Wednesday, 18-Jun-08 01:59:01 GMT; path=/
Pragma: no-cache
X-Cache: MISS from www.newsmth.net


  5、落伍者站长论坛(http://www.im286.com/):nginx/0.6.29 + PHP/5.1.6
[root@new-host ~]# curl --head http://www.im286.com/
HTTP/1.1 200 OK
Server: nginx/0.6.29
Date: Wed, 18 Jun 2008 02:20:48 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.1.6
Set-Cookie: cdb_sid=eO31Jb; expires=Wed, 25-Jun-2008 02:20:48 GMT; path=/




  二、使用 Nginx 作反向代理、规则过滤的网站:

  1、新浪博客(http://blog.sina.com.cn/):nginx/0.5.35
[root@new-host ~]# curl --head http://blog.sina.com.cn/
HTTP/1.1 200 OK
Server: nginx/0.5.35
Date: Wed, 18 Jun 2008 01:18:50 GMT
Content-Type: text/html
Content-Length: 491279
Last-Modified: Wed, 18 Jun 2008 01:14:16 GMT
Connection: keep-alive
Expires: Wed, 18 Jun 2008 01:19:20 GMT
Cache-Control: max-age=30
Accept-Ranges: bytes


  2、YUPOO相册(http://www.yupoo.com/):nginx/0.5.35
[root@new-host ~]# curl --head http://www.yupoo.com/
HTTP/1.1 200 OK
Server: nginx/0.5.35
Date: Wed, 18 Jun 2008 01:58:04 GMT
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: JSESSIONID=EC1A7935-4C66-B834-8B5B-495E958A6B53; Domain=.yupoo.com; Path=/
Content-Language: zh-CN



  三、使用 Nginx 运行静态HTML页、图片、FLV视频的网站:

  1、网易新闻(http://news.163.com/):nginx/0.6.31
[root@new-host ~]# curl --head http://news.163.com/
HTTP/1.0 200 OK
Server: nginx/0.6.31
Date: Wed, 18 Jun 2008 01:17:04 GMT
Content-Type: text/html; charset=GBK
Expires: Wed, 18 Jun 2008 01:20:04 GMT
Cache-Control: max-age=180
X-Cache: MISS from cgi-gzip.163.com
Content-Length: 259923
Vary: Accept-Encoding
Age: 74
X-Cache: HIT from news.163.com
Connection: close


  2、酷6网(http://www.ku6.com/)视频服务器:nginx/0.5.36
[root@new-host ~]# curl --head http://video.ku6.com/
HTTP/1.1 404 Not Found
Server: nginx/0.5.36
Date: Wed, 18 Jun 2008 01:50:06 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Last-Modified: Sun, 05 Aug 2007 09:49:48 GMT
Accept-Ranges: bytes
Content-Length: 18782
Vary: Accept-Encoding
X-Cache: MISS from CDN-TJ-249


  3、豆瓣网(http://www.douban.com/):nginx
[root@new-host ~]# curl --head http://www.douban.com/    
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 18 Jun 2008 01:56:58 GMT
Content-Type: text/html; charset=utf-8
Status: 200 OK
Content-Length: 30106
Expires: Sun, 1 Jan 2006 01:00:00 GMT
Pragma: no-cache
Cache-Control: must-revalidate, no-cache, private
Set-Cookie: bid="rAlrIPo2jl4"; path=/; domain=.douban.com; expires=Thu, 01-Jan-2009 00:00:00 GMT


  4、新华网RSS订阅频道(http://rss.xinhuanet.com/):nginx
[root@new-host ~]# curl --head http://rss.xinhuanet.com/
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 18 Jun 2008 01:18:00 GMT
Content-Type: text/xml
Content-Length: 4592
Last-Modified: Mon, 26 Jun 2006 09:33:54 GMT
Connection: keep-alive
Expires: Wed, 18 Jun 2008 01:24:00 GMT
Cache-Control: max-age=360
Accept-Ranges: bytes


  5、迅雷安全中心(http://safe.xunlei.com/):nginx/0.6.31
[root@new-host ~]# curl --head http://safe.xunlei.com/
HTTP/1.1 200 OK
Server: nginx/0.6.31
Date: Wed, 18 Jun 2008 02:05:54 GMT
Content-Type: text/html; charset=gb2312
Content-Length: 13060
Last-Modified: Thu, 12 Jun 2008 12:13:03 GMT
Connection: keep-alive
Keep-Alive: timeout=30
Expires: Wed, 25 Jun 2008 02:05:54 GMT
Cache-Control: max-age=604800
Accept-Ranges: bytes


  6、腾讯3G下载(http://down.3g.qq.com/):nginx/0.5.33
[root@new-host ~]# curl --head http://down.3g.qq.com/
HTTP/1.1 403 Forbidden
Server: nginx/0.5.33
Date: Thu, 19 Jun 2008 05:50:44 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive




Tags: , ,
技术大类 » Web服务器 | 评论(45) | 引用(0) | 阅读(60474)
lizongbo Homepage
2008-6-19 10:42
腾讯也有用作第三类的
Host: down.3g.qq.com

HTTP/1.x 200 OK
Server: nginx/0.5.33
Date: Thu, 19 Jun 2008 02:34:56 GMT
Content-Type: image/gif
Content-Length: 3106
Last-Modified: Wed, 07 May 2008 07:50:10 GMT
Connection: keep-alive
Expires: Fri, 20 Jun 2008 02:34:56 GMT
Cache-Control: max-age=86400
Accept-Ranges: bytes
明镜
2008-6-19 11:18
博主对于nginx在中国的普及有巨大的贡献

我的站:
[root@HX01 ~]# curl --head http://www.jysq.net
HTTP/1.1 200 OK
Server: nginx/0.6.31
Date: Thu, 19 Jun 2008 03:20:43 GMT
Content-Type: text/html
Content-Length: 997
Last-Modified: Tue, 03 Jun 2008 12:51:38 GMT
Connection: keep-alive
Accept-Ranges: bytes
Sonic
2008-6-19 14:42
感觉discuz官方非常的超前!
gusingchen
2008-6-20 10:14
你是如何区分"静态"和"反向代理"二种应用呢?
xpb
2008-6-20 12:12
建议博主专门搞一个Nginx应用的中文站,造福广大中国站长,毕竟Nginx的资料还不是很多。
Michael
2008-6-24 15:02
我有一个问题,如何能准确区分静态,和反向代理呢?从 curl 返回的信息中吗?
神仙 Homepage
2008-6-25 23:40
我们也用了nginx
Asion
2008-6-28 10:45
网上找了很多nginx教程,还是博主的最详细! 希望能交个朋友.我的QQ118774
做IT的~~
wayne
2008-7-1 00:20
我以前也用过nginx,还有lighttpd ,博主有没有测试过,用nginx和lighttpd,老是会出现500错误,后来查到是fastcgi的关系,而且好像很难解决.一定要优化程序,但是apache的prefork好像还是比较稳定的
lyrids Homepage
2008-7-1 03:36
我们也在使用 nginx 0.7.3. http://www.mjhero.com 一家网络休闲游戏网站使用了 SSL,FastCGI并集成了后端的 Tomcat, Glassfish 等Java应用服务器.下一步将在前端放置 varnish cache, 而后端的多个 tomcat/glassfish 节点之间则采用 haproxy 实现HA和负载均衡,因为 nginx 目前在节点故障检测和负载分配方面还比较弱.
lyrids Homepage
2008-7-1 03:38
www.mjhero.com 也在使用 nginx 0.7.3后端连接: FastCGI, Tomcat 和 GlassfishTomcat和Glassfish节点群之间用 haproxy 实现负载均衡和HA下一步计划在前端增加 varnish cache.
adou Homepage
2008-7-3 11:49
curl --head http://www.cyworld.com.cn/main/index.php
HTTP/1.1 200 OK
Server: nginx/0.6.31
Date: Thu, 03 Jul 2008 03:48:57 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
2j
2008-7-8 19:52
curl --head http://www.cnprint.org
HTTP/1.1 302 Moved Temporarily
HTTP/1.1 302 Moved Temporarily
Server: nginx/0.6.32
Date: Tue, 08 Jul 2008 12:00:36 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.6
Location: bbs/index.php

我的也用了。谢谢楼主,是从楼主这儿了解到的nginx,顺便打个广告。
王园园
2008-7-19 18:38
ecshop

curl --head http://www.ecshop.com
HTTP/1.1 301 Moved Permanently
Server: nginx/0.6.31
Date: Sat, 19 Jul 2008 10:39:31 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.6
Location: http://www.comsenz.com/products/ecshop/
lpfrx Email Homepage
2008-8-2 10:59
看来nginx的占有率不断上升中.
小野大神 Homepage
2008-8-14 10:34
nginx性能很棒- -
可是国外的IDC大部分还是用Apache ...偶们有什么办法 - - . .
lihaixin
2008-12-16 12:57
[root@www .ssh]# curl --head vps.15099.net
HTTP/1.1 403 Forbidden
Server: nginx/0.7.22
Date: Tue, 16 Dec 2008 04:53:48 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
vps主机租用上也使用这个了
todayboy
2009-2-26 15:44
做一个 www.chinanginx.com 网站,大家也可以多多交流!
todayboy
2009-2-26 15:46
建议张兄做一个chinanginx.com 网站,现在已经有了chinazeus.com 网站了
jack
2009-3-18 23:31
张宴写的NGINX文章确实很好啊,但我发觉kingsoft.com还在用apache,我觉得张宴应该说服kingsoft改用nginx.
curl --head www.kingsoft.com
HTTP/1.0 200 OK
Date: Wed, 18 Mar 2009 15:06:23 GMT
Server: Apache/2.0.52
Accept-Ranges: bytes
Content-Length: 18575
Content-Type: text/html; charset=GB2312
Content-Language: GB2312
Age: 248
Powered-By-ChinaCache: CHN-WH-4-338 HIT
Connection: close
张宴 回复于 2009-9-21 00:49
你看到的 www.kingsoft.com Apache服务器是老的“金山在线”KPUB发布系统的CDN源站,后来“金山在线”部门分拆,再后来金山公司又拆分成金山网络游戏、金山办公(WPS)、金山安全(毒霸)三个子公司和词霸事业部,“金山在线”这个部门也就成为历史了。WPS(www.wps.cn)、金山毒霸(www.duba.net)、金山词霸(www.iciba.com)都拥有自己域名的网站,先后将自己的网站迁出原金山在线的KPUB服务器,只剩下金山游戏官网的了,所以 www.kingsoft.com 的服务器曾经暂时由我管理。今年6月我们金山逍遥游戏社区的CMS开发完成,我也将金山游戏官网从原金山在线的KPUB服务器迁出,这时 www.kingsoft.com 的服务器对我们来说已经没用了,也跟金山游戏无关了,就全部移交给了信息技术部。

现在,金山逍遥游戏官网 www.xoyo.com 、金山词霸的爱词霸 www.iciba.com、金山毒霸的网站 www.duba.net 都使用的是 Nginx 服务器。
分页: 1/3 第一页 1 2 3 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]