502 Bad Gateway
The proxy server received an invalid response from an upstream server. Sorry for the inconvenience.
Please report this message and include the following information to us.
Thank you very much!
URL: http://code.taobao.org/mailman/listinfo/tengine-cn
Server: taocode-master
Date: 2017/03/27 15:18:16
Powered by Tengine
1条答案
按热度按时间m1m5dgzv1#
解析设置不当,查看 /var/log/nginx/error.log 的日志
以我遇到的情况为例
可见原因是 php-fpm 的 Permission denied,所以需要设置 nginx.conf 里的 user,将配置文件第一行
改为(www-data 是我的 php 设置)