For the simple reason that it’s the only static web server I’ve seen that supports Solaris’s Event Ports
events {
worker_connections 1024;
use eventport;
}
I’m cutting over the ton of static servers we have to it.
If you’re interested in a x86/64 build for Solaris
http://assets1.joyent.com/opt-nginx-amd64-build.tgz
http://assets1.joyent.com/opt-pcre7-amd64-build.tgz
Just drop it in place
$ ln -s /opt/pcre-7.0 /opt/pcre
$ ls -l /opt/
nginx/
pcre -> /opt/pcre-7.0/
pcre-7.0/
There’s an dot.xml file in /opt/nginx that you can use for SMF.
(note there’s currently some issues in the eventports implementation, so leave it commented out for now and nginx will use dev/poll)