davidwinter/puppet-nginx — pull request #3 by kasperisager (2013-05-29 09:13:22+00:00)
Title: PHP 5.4 compatibility

As of PHP 5.4, PHP-FPM no longer listens on `127.0.0.1:9000` but instead listens on `/var/run/php5-fpm.sock`. Running this module on distros with PHP 5.4> installed therefore leads to `502 Bad Gateway` errors - this PR takes care of that by changing the module's PHP template according to the new PHP-FPM server.