一打开php文件就是下载 然后百度上说进入/etc/nginx/sites-available 然后把fastcgi_pass 127.0.0.1:9000;还有location ~ \.php$ {前面的#去掉就好了 然后我又试了一下 虽然不提示下载了 但是显示502了 这是为什么?我已经启动了php-fpm怎么还是502呢
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
# Default