3 ms·
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
by ck2 14y ago
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?
- tszming 14y ago>> 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 http://markmail.org/message/4bsjfjpg2kgsjhph)
- ck2 14y agoInteresting, 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.
- tszming 14y agoYou can send a USR1 signal to nginx. http://wiki.nginx.org/LogRotation http://wiki.nginx.org/LogRotation
- yaoweibin 14y agoNo 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%8C%96%E5%8F%91%E5%B1%95 https://github.com/taobao/tengine/wiki/%E7%A4%BE%E5%8C%BA%E5...
- ck2 14y agoLooks like concat is available as it's own module: https://github.com/taobao/nginx-http-concat https://github.com/taobao/nginx-http-concat and another attempt by someone else here: https://github.com/lindsayevans/nginx-static-concat 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.
- zhuzhaoyuan 14y agoTengine is a result of teamwork. And agentzh is one of the core developers of Tengine.