EGroupWare nginx config v.2 (without try_files)

In case anyone needs to setup EGroupWare http://www.egroupware.org/
over Debian 6 / Ubuntu 11.10 and Nginx 1.1.12, here is the config file
that we used:

nginx - /etc/nginx/sites-available/egw

server {
listen 80;
server_name egw.localhost;
root /usr/share/egroupware;
index index.php;
client_max_body_size 8M;
rewrite ^/egroupware/(.*)$ /$1 last;
try_files $uri $uri/ /index.php?$args;
location ~ ^(?.+.php) {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/tmp/php-fpm.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$script;
fastcgi_param SCRIPT_NAME $script;
}
}

M.