Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

php5-fpm status page for different sockets

$
0
0
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! :)

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>