I have this vhost conf
server { # php/fastcgi
    listen       80;
    server_name  trinityplex.com www.trinity.com;
    error_log   /home/web/trinity_web/log/error.log;
    access_log   /home/web/trinity_web/log/access.log;
    root /home/web/trinity_web/public;
    location / {
      index    index.html index.htm index.php;
    }
    location ~ .php$ {
      fastcgi_pass   127.0.0.1:9000
      fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_index  index.php;
      include        fastcgi_params;
    }
}
When I restart nginx it dumps
Starting nginx: 2011/04/16 18:56:34 [emerg] 2492#0: invalid number of arguments in "fastcgi_pass" directive in /usr/local/nginx/sites-enabled/trinityplex.com:14
Maybe the missing ; after fastcgi_pass?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With