PHP-FPM status page is blank after nginx update from 1.2.1 to 1.9.2
Try this:
location ~ ^/(php_status|ping)$ {
# access_log off;
allow 127.0.0.1;
allow MY_IP_ADRESS;
deny all;
include fastcgi_params;
# This is important
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
Seems it's enough to add only
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;