I found the solution to enable a debugging log by http://nginx.org/en/docs/debugging_log.html ./configure --with-debugby xmlredice - Site Suggestions
I write the sample nginxscript. I wrote the line req.log("hello from foo() handler"); But I can't find the log file, do you know the path of the log file or any document to guide to enable log message, thanks. js_include http.js; server { location /hello { js_set $foo foo; add_header X-Foo $foo; js_content baz; } } https.js function fooby xmlredice - Site Suggestions
Hello everyone, I hope to learn more of Nginx, thanksby xmlredice - New Member Introductions