摘要: server { listen 80; server_name xxxxx.cn; root /alidata/www/xxxx; index index.php index.html index... 阅读全文
posted @ 2018-06-07 17:16 执码挥战 阅读(290) 评论(0) 推荐(0)
摘要: 其实就是php-fpm.conf中的监听有问题,一键安装包的listen默认为:/tmp/php-cgi.sock但是我们的项目中的fastcgi_pass 127.0.0.1:9000;vhost的文件有这个定义两个是不一样的,所以引发了502错误事实上只需要把两... 阅读全文
posted @ 2018-06-07 14:45 执码挥战 阅读(297) 评论(0) 推荐(0)