VPS侦探论坛
标题:
军哥 fpm监控返回502
[打印本页]
作者:
smj227227
时间:
2016-8-1 16:26
标题:
军哥 fpm监控返回502
打算监控fpm_status,配置了一直返回502nginx代码:
location ~ ^/fpm_status$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
}
php-fpm
[www]listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 80
pm.start_servers = 40
pm.min_spare_servers = 40
pm.max_spare_servers = 80
pm.status_path = /fpm_status
request_terminate_timeout = 100
request_slowlog_timeout = 0
slowlog = var/log/slow.log
作者:
licess
时间:
2016-8-1 18:57
fastcgi_pass 127.0.0.1:9000;
看置顶帖502解决方法
作者:
smj227227
时间:
2016-8-2 13:06
原帖由
licess
于 2016-8-1 18:57 发表
fastcgi_pass 127.0.0.1:9000;
看置顶帖502解决方法
可是nginx网站和nginx_status一切都正常 没有这个502错误
作者:
smj227227
时间:
2016-8-2 13:17
原帖由
licess
于 2016-8-1 18:57 发表
fastcgi_pass 127.0.0.1:9000;
看置顶帖502解决方法
解决了,谢谢军哥指点!
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4