nginx启动失败

: "location" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:67

67行是- location ~ .*\.(php|php5)?$

  • {
  • fastcgi_pass unix:/tmp/php-cgi.sock;
  • #fastcgi_pass 127.0.0.1:9000;
  • fastcgi_index index.php;
  • include fcgi.conf;
  • }复制代码但是php_fpm、php-cgi都启动了啊,不知道哪儿出问题了?