服务器架构
tianshanaoxue
这个作者很懒,什么都没留下…
展开
-
控制 Nginx 的基本功能的指令
一、daemon 语法: daemon on | off 缺省值: on daemon off; 生产环境中不要使用"daemon"和"master_process"指令,这些选项仅用于开发调试。 二、debug_points 语法: debug_points [stop | abort] 缺省值: none debug_points stop; 应原创 2012-04-02 18:23:38 · 1289 阅读 · 0 评论 -
NGINX学习之一
关于负载均衡的配置,不得不说到Nginx, Nginx("engine x") 是一个高性能的 HTTP 和反向代理 服务器,也是一个 IMAP/POP3/SMTP代理服务器 。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的Rambler.ru 站点开发的,它已经在该站点运行超过四年多了。Igor 将源代码以类BSD许可证的形式发布。自Nginx 发布四年来,Nginx 已原创 2012-04-02 14:03:29 · 649 阅读 · 0 评论 -
Nginx主模块
use Syntax: use [ kqueue | rtsig | epoll | /dev/poll | select | poll | eventport ] Default: 如果在./configure的时候指定了不止一种事件模型,那么可以设置其中一个,以便告诉nginx使用哪种事件模型。默认情况下nginx会在./configure时找出最适合系统的事件模型。原创 2012-04-02 18:34:17 · 435 阅读 · 0 评论 -
Nginx负载均衡配置文件详解之一(初级详解)
由于本人也是刚学的nginx,以下对自己的一点体会做个说明,红字部分为个人说明。 #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid log原创 2012-04-04 16:23:46 · 1492 阅读 · 0 评论