nginx 的debug模式

作者: 2hei 发表于2009年8月 9日 15:38
版权声明: 可以转载, 转载时务必以超链形式标明文章原始出处和作者信息及版权声明
http://www.2hei.net/mt/2009/08/nginx-debug.html

编译的时候添加:

--with-debug

 nginx.conf中的配置:

error_log  logs/error.log debug;

#master_process  off;
daemon          off;
daemon off;            

说明:
master_process  on; 
Do not use the "daemon" and "master_process" directives in a production mode, these options are mainly used for development only. You can use  daemon off  safely in production mode with runit / daemontools however you can't do a graceful upgrade.  master_process off  should never be used in production.

生产环境中不要使用"daemon"和"master_process"指令,这些选项仅用于开发调试。

| | Comments (0) | TrackBacks (0)

发表一个评论

关于这篇文章

这篇文章由2hei2009年8月 9日 15:38发布.

上一篇:Your intltool is too old. You need intltool 0.35.0 or later

下一篇:nginx+Django+memchached环境搭建备忘

回到首页 或者查看归档文章