EGroupWare nginx config
Mark Alan
varia at e-healthexpert.org
Fri Jan 13 19:51:41 UTC 2012
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$fastcgi_script_name; }
}
M.
More information about the nginx
mailing list