I already shared some nginx configuration for PHP, but here is one for Drupal.
As promised here are some install instruction – or better would be to say how I did it.
After installing nginx (I will maybe post all steps later). Some basic settings and it is runing. nginx cannot run PHP scripts directly, for this reason you need to use fastcgi.
What do you need for this? 1st the
php-cgi installed. To check where it is use
server ~/ : which php-cgi
[engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev
. It has been running for more than five years on many heavily loaded Russian sites including Rambler
). According to Netcraft nginx erved or proxied 4.24% busiest sites in January 2010
. Here are some of success stories: FastMail.FM
I have tried it and it is a must!
5 év folyamatos üzem és 1014 napos max uptime után a server már nem birta tovább.