当在多个池configuration中查看php-fpm staus时获得空白页面

我正在尝试启用nginx和php-fpm状态页面。 我能够得到nginx状态页面的工作,但不是PHP的FPM。 我在服务器上有一个站点,但有两个php-fpm池。 我重新启动了nginx和php-fpm,当我查看http:// my_domain / www0_status页面时,它给出了一个空白页面。 nginx访问日志显示http状态码为200。

php-fpm www0.conf中的configuration:

pm.status_path = /www0_status 

在php-fpm www1.conf中的configuration:

  pm.status_path = /www1_status 

nginx.conf中的configuration:

  # Monitor www0 pool location /www0_status { allow 127.0.0.1; allow my_ip; deny all; fastcgi_pass 127.0.0.1:9000; include fastcgi_params; } # Monitor www1 pool location /www1_status { allow 127.0.0.1; allow my_ip; deny all; fastcgi_pass 127.0.0.1:9001; include fastcgi_params; } 

nginx访问日志:

  my_ip - - [10/Jul/2015:15:09:34 -0700] "GET /www0_status HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0" "-" 

尝试在状态位置添加这个variables:

fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;