如何在 Ubuntu 14.04 服务器上设置 nginx-debug?

Use*_*ame 0 nginx

我正在阅读有关在 nginx 中启用调试日志的指南:https : //nginx.org/en/docs/debugging_log.html

我有一个 Ubuntu 14.04 服务器。我必须在哪些目录中运行这些命令

./configure --with-debug
error_log /path/to/log debug;
configure arguments: --with-debug
Run Code Online (Sandbox Code Playgroud)

Sve*_*ven 5

无处。nginxUbuntu 提供的版本已经使用调试选项编译。该指南中显示的步骤旨在编译您自己的nginx.