для фпм
location /status56 {
access_log off;
allow
127.0.0.1;
deny all;
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location /status72 {
access_log off;
allow
127.0.0.1;
deny all;
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
все пишется туда же