Nginx

General musings and reminders related to settings and setups for the nginx HTTP server.

Simple Nginx Setup with PHP

Install Nginx ]# yum install nginx Install php-fpm ]# yum install php54-fpm Create a *.conf file for php-fpm ]# cd /etc/php-fpm.d/ ]# cp www.conf your-domain.conf Setup the your-domain.conf file ]# vim your-domain.conf Type i to enter Edit mode. Change...
Read More

Nginx: Page Not Found

This error is nearly always caused by permissions issues. Check that the user:group is set to use the nginx user and whichever group you’ve setup to access the file in the site directory.
Read More