Sebastiaan de Weert
New Pleskian
Hi Plesk Community,
I am following the following Plesk tutorial: How to monitor PHP-FPM instances.
In my www.conf I uncommented "pm.status_path = /status" and the http://serverip/status seems to work. (response code 200). But the page says: File not found.
What am I doing wrong?
My nginx:
location /status {
fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:///var/www/vhosts/system/mywebsite.nl/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
Thanks in advance.
I am following the following Plesk tutorial: How to monitor PHP-FPM instances.
In my www.conf I uncommented "pm.status_path = /status" and the http://serverip/status seems to work. (response code 200). But the page says: File not found.
What am I doing wrong?
My nginx:
location /status {
fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:///var/www/vhosts/system/mywebsite.nl/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
Thanks in advance.