Welcome! Log In Create A New Profile

Advanced

php5-fpm status page for different sockets

Posted by Patschi 
php5-fpm status page for different sockets
December 21, 2012 10:08PM
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! :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready