1.修改nginx.conf,
worker_processes 1;
error_log logs/error.log debug; # 记录调试日志
master_process off; # 单进程模式
daemon off;
2. ./configure --with-debug
1.修改nginx.conf,
worker_processes 1;
error_log logs/error.log debug; # 记录调试日志
master_process off; # 单进程模式
daemon off;
2. ./configure --with-debug