NGINX zend framework vhost

server {
  listen 80;
 
  server_name sub.domain.tld;
  root /var/www/sub.domain.tld/public;
 
  error_log /var/log/nginx/sub.domain.tld.error.log;
  access_log /var/log/nginx/sub.domain.tld.access.log;
 
  location / {
    index index.php;
    if (-f $request_filename) {
      break;
    }
    rewrite ^(.*)$ /index.php last;
  }
 
  # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  #
  location ~ index.php {
    root /var/www/sub.domain.tld/public;
    fastcgi_param APPLICATION_ENV development;
    include fastcgi_params;
    fastcgi_pass   127.0.0.1:9000;
  }
}