EGroupWare nginx config

In case anyone needs to setup EGroupWare
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$fastcgi_script_name; }


Hello Mark,

I had Egroupware on Apache2 and have everything now on Nginx
Everything works fine. Exept…
The filemanager:
Ik can upload files en see an icon wich “proofs” that the file arrived
the server.
But when I click on the link of that file, i get an error:
404 Not Found
nginx/1.2.6 (Ubuntu)

Does this work on your situation?

Freerk Jongsma

Posted at Nginx Forum: