Hello
i want to add php-fpm status page to one of my servers user domain
i used this guide
and added
pm.status_path = /status
to
File: /usr/local/php55/etc/php-fpm.conf
and also
location ~ ^/(fpmstatus|ping)$ {
access_log off;
allow 127.0.0.1;
allow 1.2.3.4; ### MY workstation Ip Address
deny all;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
}
to user account nginx configuration file lcated at
/usr/local/directadmin/data/users/admin/php/php-fpm55.conf
but i get error
502 Bad Gateway
nginx
when i Brose to domain.com/fpmstatus page !
i think something is wrong with my php-fpm pass parameters
anyone have any idea ?
i want to add php-fpm status page to one of my servers user domain
i used this guide
and added
pm.status_path = /status
to
File: /usr/local/php55/etc/php-fpm.conf
and also
location ~ ^/(fpmstatus|ping)$ {
access_log off;
allow 127.0.0.1;
allow 1.2.3.4; ### MY workstation Ip Address
deny all;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
}
to user account nginx configuration file lcated at
/usr/local/directadmin/data/users/admin/php/php-fpm55.conf
but i get error
502 Bad Gateway
nginx
when i Brose to domain.com/fpmstatus page !
i think something is wrong with my php-fpm pass parameters
anyone have any idea ?
Create PHP-FPM Status Page for nginx+php-fpm in directadmin
Aucun commentaire:
Enregistrer un commentaire