LukeCarrier/rpm-specs — Issue #1: nginx-php-fpm configuration
Author: LukeCarrier
Created: 2011-12-01 00:48:05+00:00
State: open

Not got time to fix this at present, but the nginx-php-fpm package won't adjust the system's default vhost to enable PHP correctly yet. We need to set the root directly within the server directive (i.e. not within a location block) in order to set the path correctly when we include the enable_php file, else FPM goes looking for the file in /usr. Odd defaults; this baffled me for over 2 hours today.