<div dir="ltr"><div><div><div><div>Hello list,<br><br></div>I use php-fpm via fastcgi to handle my PHP scripts. I have that working successfully. PHP-FPM has a feature where it displays a status page, as mentioned here:<br>
<a href="http://php.net/manual/en/install.fpm.configuration.php#pm.status-path">http://php.net/manual/en/install.fpm.configuration.php#pm.status-path</a><br><br></div>I'd like to be able to access this through nginx. I tried setting my configuration to what I would expect to work, but, alas, it does not.<br>
<br>Here's my configuration:<br><a href="http://p.ngx.cc/042567f732ada334">http://p.ngx.cc/042567f732ada334</a><br><br></div>The error I get when I try to browse to <a href="http://domain.com/fpm-status">domain.com/fpm-status</a> is:<br>
"File not found."<br><br>in my browser, and in the nginx error log:<br><br>2013/06/20 22:29:51 [error] 85006#0: *13 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: x.x.x.132, server: <a href="http://domain.com">domain.com</a>, request: "GET /fpm-status HTTP/1.1", upstream: "fastcgi://unix:/var/run/phpfpm.sock:", host: "<a href="http://domain.com">domain.com</a>"<br>
<br></div>Nothing shows up in php-fpm's error log.<br><br>Thanks for any help/suggestions on getting this working!<br></div>