I upgraded my production Ubuntu box from
nginx 1.6.0-1+trusty0 to
1.6.1-2+trusty0 today and broke my
php5-fpm configuration, resulting in the white screen of death for my sites.
The fix is the edit
/etc/nginx/wordpress.conf and change this line:
Alternately, you can add a SCRIPT_FILENAME line to your config as bedrock-ansible does as of this commit.
If you’re using bedrock-ansible to provision your production servers, you should change the template
Some background on the difference between fastcgi_params and fastcgi.conf is here.
1.6.0-1+trusty0, the file
/etc/nginx/fastcgi_params contains the line:
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
After upgrading to
1.6.1-2+trusty0, that line is gone, so
SCRIPT_FILENAME is no longer set.