>> nginx cannot natively do piped logging?
"No, nginx will not support logging to a pipe since this is simlpy waste of CPU."
- Igor Sysoev (http://markmail.org/message/4bsjfjpg2kgsjhph)
Interesting, so to rotate nginx logs do you have to restart nginx?
I always though piped logging was required to rotate logs without restart.
I love the graceful restart and even the replace the executable on the fly nginx has.
You can send a USR1 signal to nginx.
http://wiki.nginx.org/LogRotation
No really, agentzh and chaoslawful developed the nginx_lua module. It's included in Tengine.
Tengine is maintained by many other developers (in Chinese): https://github.com/taobao/tengine/wiki/%E7%A4%BE%E5%8C%BA%E5...
Looks like concat is available as it's own module:
https://github.com/taobao/nginx-http-concat
and another attempt by someone else here:
https://github.com/lindsayevans/nginx-static-concat
But both of them rely on or accept client-side concat, I'd rather just do it server-side only for security/control.
Re:Taobao's branch of Nginx
by zhuzhaoyuan on Tuesday November 13, 2012 @06:56AM
(#4777494)
Tengine is a result of teamwork. And agentzh is one of the core developers of Tengine.
I like the idea of combined javascript and stylesheets but I'd rather force the combining from the server-side, not a special client-side request. ie.
Ohhh... agentzh wrote the fork? The one who made many popular modules?