您的位置:首页 > 运维架构 > Nginx

nginx-debug 调试模式

2013-05-31 20:47 871 查看
编译安装nginx-debug模式
./configure --prefix=/opt/nginx-debug--with-debug
make ;make install

vi nginx.conf
worker_processes 1;
daemon off;
master_process off;
error_log logs/error.log debug;

启动nginx
Sbin/nginx &

查看调试日志error.log
Tail –f error.log
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: