使用Nginx作为Web服务器的国内网站[原创]

[文章作者:张宴 本文版本:v1.1 最后修改:2008.06.19 转载请注明原文链接:http://blog.s135.com/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
posted @ 2011-10-31 12:23  tokeep  阅读(189)  评论(0编辑  收藏  举报