I'm having trouble configuring Symfony2 with nginx
I installed symfony2 like this
php composer.phar create-project symfony/framework-standard-edition /var/www/symf
everything went smoothly, when i'm on the config page no erros

but when i click Configure online or Buypass config i'm landing on nginx 404 NOT FOUND
here is the config file
upstream phpfcgi {
server 127.0.0.1:9000;
}
server {
listen 80;
server_name localhost;
root /var/www/symf/web;
error_log /var/log/nginx/symfony2.error.log;
access_log /var/log/nginx/symfony2.access.log;
# strip app.php/ prefix if it is present
rewrite ^/app\.php/?(.*)$ /$1 permanent;
location / {
index app.php;
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /app.php/$1 last;
}
# pass the PHP scripts to FastCGI server from upstream phpfcgi
location ~ ^/(app|app_dev|config)\.php(/|$) {
fastcgi_pass phpfcgi;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
}
Note : i noticed when clicking buypass i'm landing on a link like ....symf/web/app_dev.php/
removing last / allow me to reach the page but got and error
clicking ok -> 404 no found
i'm i missing something ?
parameters.yml
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: null
database_name: symfony
database_user: root
database_password: *****
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
locale: fr
secret: ******
debug_toolbar: true
debug_redirects: false
use_assetic_controller: true