ChinaUnix.net
相关文章推荐:

nginx 重写

2008/09/03 08:10:28 [notice] 4197#0: using the "epoll" event method 2008/09/03 08:10:28 [notice] 4197#0: nginx/0.6.31 2008/09/03 08:10:28 [notice] 4197#0: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3) 2008/09/03 08:10:28 [notice] 4197#0: OS: Linux 2.6.9-42.EL 2008/09/03 08:10:28 [notice] 4197#0: sysctl(KERN_RTSIGMAX): 0 2008/09/03 08:10:28 [notice] 4197#0: getrlimit(RLIMIT_NOFILE): 65535:65535 200...

by sam.liu - 服务器应用 - 2008-11-20 15:40:28 阅读(8208) 回复(3)

相关讨论

nginx的负载均衡有哪些功能呢? * 如果后面的服务器其中一台坏了,它能自动识别,更牛的是它好了之后nginx可以马上识别 那么大虾知道这ngnix的这个功能使用那部分配置或文件实现的,基本原理是什么?

by andyhua12 - 服务器应用 - 2008-09-30 15:24:47 阅读(2452) 回复(8)

使用心得:nginx处理大并发比较稳定,特别省 内存 ,配置简单. 1.安装pythoncd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装 django 1) cd /usr/ports/www/py-django make install clean 4.安装 nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.com/documentation/fastcgi/ #!/bin/sh # Replace these thr...

by 剑心通明 - BSD文档中心 - 2008-03-23 20:44:48 阅读(1073) 回复(0)

nginx总结 目录 一、安装 2 A)一般安装 2 B)高级安装 2 二、基本命令 3 三、配置文件 3 A)配置文件解释 3 B)带监控模块的配置 4 C)虚拟主机的配置 5 五、事件模型介绍--I/O复用方法 7 A)标准事件模型 7 B)高效事件模型 7 六、关于LEMP的结构 8 A)Linux+nginx+Mysql+Php 8 B)其他结构 8 七、软件的平滑升级 10 A)简单修改配置文件 10 B)平滑升级二进制代码 11 八、相关的处理信号 12 A)主进程可以处理的信号 12 B)工作进...

by adu119 - 服务器应用 - 2008-01-31 18:29:41 阅读(9255) 回复(11)

Django on nginx 建议:FreeBSD RELENG_6 使用心得:nginx处理大并发比较稳定,特别省内存,配置简单. 1.安装python cd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装django 1) cd /usr/ports/www/py-django make install clean 4.安装nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.co...

by jinxofeng - Python文档中心 - 2007-12-28 10:52:39 阅读(1767) 回复(0)

目前我是squid+apache 感觉nginx跑 php不稳定 但是自己又跑CMS nginx性能贼强 考虑以后 想用nginx+apache 实现静动分离 关键不知道squid能不能和nginx 占资源少 也能支撑大并发 ? CMS+DZ论坛 看大家的意见了

by 啊泰 - 服务器应用 - 2009-02-08 16:26:36 阅读(4049) 回复(2)

在论坛服务器上想做一个跳转 比如访问http://bbs.111.cn/45678 就直接跳转到论坛里面的某个板块http://bbs.111.cn/forum-22-1.html 其中45678在服务器上没有这个目录 location /45678 { rewrite ^(.*)$ http://bbs.111.cn/forum-22-1.html last; break; } 现在访问http://bbs.111.cn/45678 总是提示错误 而在这URL后面加斜杠访问http://bbs.111.cn/45678/ 就没有问题

by liutu - 服务器应用 - 2009-09-08 14:49:41 阅读(1565) 回复(6)

location ~* \.(gif|jpg|png|ico|jpeg)$ { valid_referers none blocked www.xxxx.com xxx.com; if ($invalid_referer) { #rewrite ^/ http://www.xxx.com/403.html; return 403; } } nginx 简单图片防盗链 我是在nginx 负载代理那台服务器上做 但是我发现我这样设置后 我发现我自己登入自己的网站,网站的图片是不显示了 nginx的简单的盗链难道是那出问题了 ----------------------希望看帖的人 提示下 。。...

by herofrank - 服务器应用 - 2009-08-25 03:26:44 阅读(1544) 回复(2)

高手们好 我们现在是这样的架构 前端是nginx进行反向代理 静态文件发给后面的varnish组 动态文件aspx发给后端的iis处理 现在的问题是 varnish配置文件中如何接收发来的请求呢 我的配置如下: nginx: upstream varnishtest{ 192.168.0.2:80 weight=2 192.168.0.3:80 weight=2 192.168.0.4:80 weight=2 } server { listen 58.xx.xx.xx:80; server_name test.vcoole.com; access_log /home/log/test.log main; location ...

by 爱斯基摩寂寞 - 服务器应用 - 2009-08-22 07:19:55 阅读(1901) 回复(1)

nginx部署了一个软件下载站,可是在log日志里经常出现400的错误 错误日志如下,查了网上资料说是修改,下面两个选项可以解决,但是我添加以后,400错误仍然出现。有哪位知道如何解决吗 client_header_buffer_size 128k; large_client_header_buffers 8 128k; 117.136.13.3 - - [14/Aug/2009:16:13:08 +0800] - 400 0 - - - - 117.136.22.137 - - [14/Aug/2009:16:13:04 +0800] - 400 0 - - - -

by 西山晴雪 - 服务器应用 - 2009-08-15 17:40:36 阅读(1749) 回复(1)