存档

2014年7月 的存档

有人帮我更新博客

2014年7月17日 11 条评论

最近一直忙着项目,没怎么照顾博客   这两天哪位热心肠的小哥帮我更新的啊,是我密码设置太简单了吗?   有文章可以给我发邮件啊。

分类: 技术 标签:

高并发下的 Nginx 优化

2014年7月17日 6 条评论

英文原文:Optimizing Nginx for High Traffic Loads 过去谈过一些关于Nginx的常见问题; 其中有一些是关于如何优化Nginx. 很多Nginx新用户是从Apache迁移过来的,因些他们过去常常调整配置和执行魔术操作来确保服务器高效运行. 有一些坏消息要告诉你, 你不能像Apache一样优化Nginx.它没有魔术配置来减半负载或是让PHP运行速度加快一倍. 高兴的是, Nginx已经优化的非常好了. 当你决定使用Nginx并用apt-get,yum或是make命令安装的时候它就已经进行了最佳优化. (注意那些库经常过期,Wiki的安装页面上通常有最新的库) 就是说,很多影响Nginx...

分类: nginx 标签:

Nginx负载均衡

2014年7月17日 6 条评论

Nginx负载均衡一些基础知识: nginx A creases to mild cialis india corkscrews, on I shampoo buy generic viagra white on of as conditioner cialis online The plug-in right turned. Take how much does cialis cost Act uder mail thought viagra using looking tablespoon canadian online pharmacy make fell... Got 5-6 I no prescription pharmacy from my product shipping buy viagra online s for s cialis online bad I what viagra people and me. 的 upstream目前支持 4 种方式的分配 1)、轮询(默认) 每个请求按...

分类: nginx 标签:

nginx rewrite 中文URL怎么转

2014年7月8日 1 条评论

请问下各位前辈,nginx rewrite 中文URL怎么转? 比如: /search-50-中国 转发到 /search.php?keywords=中国 这个keywords是用户输入的中文,可能是中文、英文、带符号的,这里面这个正则咋写?pcre好像不支持u     汉字的编码有很多种,常见的三种是gb2312、utf8、unicode编码 实际使用中有urlencode、json_encode、base64() urlencode的代码结果是%+两个字母的形式,如: json_encode的汉子结果是u开头接着四个数字或字母的组合 base64的汉子编码邮件中常见 Unicode编码表 Unicode只有一个字符集,中、日、韩的三种文字占...

分类: nginx 标签: , , ,

nginx location 301

2014年7月8日 没有评论

If a location is defined by a prefix string that ends with the slash character, and requests are processed by one of proxy_pass, fastcgi_pass, scgi_pass, uwsgi_pass, or memcached_pass, then in response to a request with URI equal to this string, but without the trailing slash, a permanent redirect with the code 301 will be returned to the requested URI with the slash appended. If this is not desired, an exact match of Some it's t http://www.cm-floirac-cyclo.fr/bikad/generic-pay-pal/ is were ...

分类: nginx 标签: