nginx, php-fpm, drupal rapid deployment under centos 6.5

Everything from simple in line with the principle of do, to yum / rpm, and determined not to manually compile 🙂
The deployment environment is based on CentOS 6.3 x86_64 systems.
0.5 Preparations

1. Install nginx

2. Install php-fpm

3. Configure nginx + php
/etc/nginx/nginx.conf profile can not make any changes.
Edit /etc/nginx/conf.d/default.conf, to site an example, the configuration file as follows:

The above configuration includes a virtual host configuration nginx, and rewrite the rules of drupal configuration, simple and fast.

4. Start Test
After modifying the configuration file every time, remember the following command to test the correctness of the configuration file:

Confirm the configuration file is correct, execute the following command reload nginx, to take effect:

Done 🙂