Taobao's branch of Nginx
tengine.taobao.org
tengine.taobao.org
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?"No, nginx will not support logging to a pipe since this is simlpy waste of CPU."
- Igor Sysoev (http://markmail.org/message/4bsjfjpg2kgsjhph)
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.
Tengine is maintained by many other developers (in Chinese): https://github.com/taobao/tengine/wiki/%E7%A4%BE%E5%8C%BA%E5...
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.
> recompiling nginx everytime you need a custom
> module quickly loses its charm
How often are you adding/removing modules?[I'm a huge nginx fan myself but recall that this is coming to the main project soonish.]
But I bet for developing modules, loading standalone is a huge help.
I haven't used nginx often, but the default Debian nginx doesn't come with many things included, I find.
It's like a sausage, you can enjoy eating it without seeing how it's made.
But apache can let you load a new .so without recompiling (or even restarting) the main server, which, for most intents and purposes, gives you equivalent functionality.
Also, you can upgrade nginx binary without any downtime, see: http://wiki.nginx.org/CommandLine
Have you ever actually used nginx? I compile it from source with much-less-than-everything for security reasons (e.g., no proxy, no email, no ssi, no ssl, not any of the other ten modules that come by default), and in the 3 times that I needed a module later, it was a quick ./configure;make;make install;kill -SIG2 (or whatever the signal is to switch to a new version), which was not more painful than I remember from my apache days of 5 years ago.
(Has apache changed since then?)
How do you handle deployment of your custom nginx on several boxes?
(My recent nginx deployment have 2 machines, so I do it manually, but in the past, I had a homegrown solution that would pull files from version control, and if they changed, asked the binary to restart)
In our experience it's every bit as reliable as mainline nginx.