News for hackers. Stuff that matters.
Re:Taobao's branch of Nginx by ck2 on Tuesday November 13, 2012 @03:58AM (#4777108)
Hmm nginx cannot natively do piped logging?

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.

   location /style.css {
      root /css;
      combine style1.css+style2.css+style3.css;
   }

Ohhh... agentzh wrote the fork? The one who made many popular modules?
Re:Taobao's branch of Nginx by tszming on Tuesday November 13, 2012 @05:05AM (#4777262)
>> 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)

Re:Taobao's branch of Nginx by ck2 on Tuesday November 13, 2012 @05:24AM (#4777285)
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.

Re:Taobao's branch of Nginx by tszming on Tuesday November 13, 2012 @05:30AM (#4777305)
You can send a USR1 signal to nginx. http://wiki.nginx.org/LogRotation
Re:Taobao's branch of Nginx by yaoweibin on Tuesday November 13, 2012 @05:41AM (#4777330)
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...

Re:Taobao's branch of Nginx by ck2 on Tuesday November 13, 2012 @06:19AM (#4777409)
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.