Nginx提示502和504错误的终极解决方案
ReNginx提示502和504错误的终极解决方案
请问楼主,我的服务器四核8G内存,10M带宽,应该如何设置呢
我的目前是:
[global]
pid = /usr/local/php/var/run/php-fpm.pid
error_log = /usr/local/php/var/log/php-fpm.log
log_level = notice
[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 = static
pm.max_children = 100
request_terminate_timeout = 300
request_slowlog_timeout = 0
slowlog = var/log/slow.log
赞0
踩0