码迷,mamicode.com
首页 >  
搜索关键字:nginx xcache webbench测试    ( 25397个结果
Nginx 升级版本或者重新编译增加参数
Nginx升级版本或者重新编译增加参数这里我们重新编译下,增加nginx用户和组先创建用户#useraddnginx开始编译#cd/usr/local/nginx-1.6.1#./configure--user=nginx--group=nginx--prefix=/usr/local/nginx--with-http_ssl_module--with-http_stub_status_module--with-http_gzip_..
分类:其他好文   时间:2014-08-26 11:52:36    阅读次数:322
ngx_lua_waf完整安装说明
测试环境:centos5.6 x32,nginx1.4.4,LuaJIT-2.0.3,ngx_devel_kit-0.2.19、lua-nginx-module-0.9.11,ngx_lua_waf1、安装nginx_lua_module模块mkdir /data/soft上传nginx1.4.4,...
分类:其他好文   时间:2014-08-26 11:10:45    阅读次数:731
在nginx中,禁止IP访问.只可以使用域名访问.
if ($host ~* "\d+\.\d+\.\d+\.\d+"){ return 400;}其实说白了, 就是进行host主机头过滤,使用正则来判断下.
分类:其他好文   时间:2014-08-26 09:42:55    阅读次数:176
ab压力测试及Xcache
使用ab进行对页面压力测试ab是apache自带的一个很好用的压力测试工具,当安装完apache的时候,就可以在bin下面找到ab我们可以模拟100个并发用户,对一个页面发送1000个请求#ab-c100-n1000http://192.168.0.2/phpmyadmin 请求总数1000次,每次并发100##首先是apache的版本信息 T..
分类:其他好文   时间:2014-08-26 02:59:16    阅读次数:356
Hello Nginx
目录nginx简介Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器 nginx特性提供Web服务:包括虚拟主机服务、域名解析服务和重定向服务等;反向代理:为多种Web协议提供代理服务,并且能缓存和管理这些协议的....
分类:其他好文   时间:2014-08-25 22:39:04    阅读次数:279
nginx开启目录浏览
使用nginx作为下载站点,开启目录浏览的功能 在/etc/nginx/sites-enabled/default中添加: autoindex on ; autoindex_exact_size off; autoindex_localtime on;说明:第一个为目录浏览功能开始...
分类:其他好文   时间:2014-08-25 22:38:34    阅读次数:221
PCRE安装
最近在学习nginx,nginx rewrite依赖于PCRE库,所以需要在linux系统中编译安装PCRE库。具体步骤如下:1.下载PCRE包首先去官网下载pcre的安装包如果通过FTP的方式,下载地址为:ftp://ftp.csx.cam.ac.uk/pub/software/programmi...
分类:其他好文   时间:2014-08-25 21:03:34    阅读次数:591
How to configure Gzip for JBoss?---refer
Question:I think to try to speed up my Web App by reducing the size of transferred data. For example, in Nginx there is a special module. How to enabl...
分类:其他好文   时间:2014-08-25 20:57:24    阅读次数:246
CentOS6.x安装配置nginx
nginx安装nginx的官网:http://nginx.org/相应下载页面:http://nginx.org/en/download.html我这里使用nginx的yum在线安装wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-r...
分类:其他好文   时间:2014-08-25 18:30:54    阅读次数:227
20步打造最安全的Nginx Web服务器
Nginx是一个轻量级的,高性能的Web服务器以及反向代理和邮箱(IMAP/POP3)代理服务器。它运行在UNIX,GNU /linux,BSD 各种版本,Mac OS X,Solaris和Windows。根据调查统计,6%的网站使用Nginx Web服务器。Nginx是少数能处理C10K问题的服务器之一。跟传统的服务器不同,Nginx不依赖线程来处理请求。相反,它使用了更多的可扩展的事 件驱动(...
分类:Web程序   时间:2014-08-25 17:05:24    阅读次数:385
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!