yum install nginx
Then a super simple configuration later, and I had my nice new webserver up and running.
It took longer to try and get apache's settings right than it did to remove it and install nginx, make a couple config changes and start it up.
I learned a couple of neat tricks in the process, First,
find / -name nginx
will find all files or folders named nginx on my system and it starts searching from the / directory.
Second, to start nginx
and to stop:/etc/rc.d/init.d/nginx stop
and to restart/etc/rc.d/init.d/nginx restart
On my system Fedora 16, nginx is living at /etc/nginxWhich is different than where the documentation says it should be, at /usr/bin/nginxAls, I find it annoying that it delegates PHP and CGI scripts to apache. I guess it makes sense, they say that nginx is designed to be a fileserver. Do I really have to use apache?