li
  当前位置:主页 > 基础知识 > 文章内容
li
高性能的 HTTP 和 反向代理 服务器Nginx(3)
来源: www.ixdba.net  作者: IXDBA.NET官方    时间:2008-06-30   阅读:21  
本文章共4204字,分3页,当前第3页,快速翻页:
 

proxy_read_timeout      90; 
proxy_buffers           32 4k; 
测试配置文件 
[root@test conf]# /usr/local/nginx/sbin/nginx -t 
2008/05/04 15:40:02 [info] 2363#0: the configuration file /usr/local/nginx/conf/nginx.conf syntax is  

ok 
2008/05/04 15:40:02 [info] 2363#0: the configuration file /usr/local/nginx/conf/nginx.conf was tested  

successfully 
启动 
[root@test conf]# /usr/local/nginx/sbin/nginx 
[root@test conf]# ps fax 
9400 ?        Ss     0:00 nginx: master process /usr/local/nginx/sbin/nginx 
 9401 ?        S      0:00  \_ nginx: worker process       
 9402 ?        S      0:00  \_ nginx: worker process   

http://192.168.1.250:81/NginxStatus 
Active connections: 1  
server accepts handled requests 
2 2 11  
Reading: 0 Writing: 1 Waiting: 0    


http://192.168.1.250:81
就可以访问我的页面了用着个nignx+tomcat来替代apache+jk+tomcat 
同样的可以让squid来监听80端口 这样就透明代理了 
查看服务器信息 
IXDBA.NET技术社区
[root@test conf]# curl -I http://localhost 
HTTP/1.0 200 OK 
Server: nginx/0.6.26 
Date: Sun, 04 May 2008 07:18:27 GMT 
Content-Type: text/html;charset=GBK 
Set-Cookie: JSESSIONID=0CE2D90115EFDE9830215A55414BF11F; Path=/ 
X-Cache: MISS from test.suantop.com 
Via: 1.0 test.abc.com (squid/3.0.STABLE2) 
Connection: close



阅读更多内容<<上一页 · 1 · 2 · 3


  上一篇: 无法打开网站网页,但是QQ可以登录...   下一篇: apache下限制并发数、IP、带宽的...
li
 §相关评论  
 热点文章

·RewriteRule重写规则的语法:A
·apache配置文件httpd.conf参数
·Apache的配置文件http.conf参数
·HTTP协议中POST、GET、HEAD等参
·XAMPP命令之LAMPP
·Linux中安装XAMPP(LAMPP)服务器
·网页禁止右键、禁止复制等代码
·java.lang.OutOfMemoryError:
·Mysql数据库在Linux系统常用命
·mysql问答:MySQL数据库连接过多
·MySQL数据库中Show命令的用法
li
 编辑推荐
·RewriteRule重写规则的语法:A
·apache配置文件httpd.conf参数
·Apache的配置文件http.conf参数
·HTTP协议中POST、GET、HEAD等参
·XAMPP命令之LAMPP
·Linux中安装XAMPP(LAMPP)服务器
·网页禁止右键、禁止复制等代码
·java.lang.OutOfMemoryError:
·Mysql数据库在Linux系统常用命
·mysql问答:MySQL数据库连接过多
·MySQL数据库中Show命令的用法
li
 相关篇章
·无法打开网站网页,但是QQ可以登录...
·IBM DB2 9数据库恢复原理介绍
·MySQL数据库的基本使用指南
·利用linux rpm方式安装Mysql
·mysql数据库源码安装详解
·MySQL导入导出工具mysqlimport用...
·MySQL数据库中Show命令的用法
·mysql问答:MySQL数据库连接过多的...
·Mysql数据库在Linux系统常用命令...
·java.lang.OutOfMemoryError: al...
·apache下限制并发数、IP、带宽的...
·高性能http服务器Nginx,超牛的we...
·Nginx完全教程(必读)
·原创Nginx环境的搭建(支持正则)
·Nginx轻量级的HTTP服务器-理论篇
·Lighttpd+Squid+Apache搭建高效率...
·隐藏Apache,PHP版本和相关基本安...
·Apache Url Rewrite(mod_rewrite...
·apache中并发控制参数prefork理解...
·Apache2的httpd.conf经典翻译
 
li
设为首页 | 关于我们 | 技术服务 | 收藏本站 | 网站地图 | 联系方式 | 本站友情连接