location /phpfpm_status_{$PHP_VERSION} {
    fastcgi_pass unix:/tmp/php-cgi-{$PHP_VERSION}.sock;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME \$fastcgi_script_name;
}