nginx解析php文件时502
fastcgi_fast路径问题
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php5-fpm (or other unix sockets):
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
# # With php5-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}最后更新于