当前位置: 首页 > OpenSource > 正文
nginx 的debug模式
Aug092009
作者:u2 发布:2009-08-09 15:38 分类:OpenSource nginx 的debug模式已关闭评论
编译的时候添加:
–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”指令,这些选项仅用于开发调试。
本文固定链接: https://www.2hei.net/2009/08/09/nginx_debug/ | 2hei.net
最活跃的读者