Some quick notes on building a CentOS server with Nginx, PHP-FPM and WordPress.
First here’s great tutorial that covers the different Fedura / CentOS / RedHat versions:
http://www.if-not-true-then-false.com/2011/install-nginx-php-fpm-on-fedora-centos-red-hat-rhel/
To support WordPress I added the following line into /etc/nginx/sites-enabled/acme.com.conf:
1 2 3 4 |
location / { index index.html index.htm index.php; try_files $uri $uri/ /index.php?$args; } |