charset utf-8;

root /home/u1/domains/example.com;
index index.php index.html index.htm;

location / {
    try_files $uri $uri/ /index.php?_url=$uri&$args;
}

location ~ /\. {
  deny  all;
}

location ~ \.php {
    fastcgi_pass  unix:/var/run/php5-example.com.sock;
    fastcgi_index /index.php;

    include fastcgi_params;
    fastcgi_split_path_info       ^(.+\.php)(/.+)$;
    fastcgi_param PATH_INFO       $fastcgi_path_info;
    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
