Hi community,
I'm trying to make my life with a nginx rule easier, but I don't know how to solve it.
My goal is to get the php5-fpm status page for different sockets.
For example with "status_example.com?text"
Current rule:
location ~ ^/fpm-status$ {
fastcgi_pass unix:/etc/php5/fpm/sockets/example.com.socket;
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
include fastcgi_params;
}
Thanks for any help! :)