Feng Office nginx config

Mark Alan varia at e-healthexpert.org
Fri Jan 13 20:08:20 UTC 2012


In case anyone needs to setup Feng Office
http://www.fengoffice.com/web/features.php (it is a web-based groupware
package, including project management, client relationship management,
email calendar, billing, financing, etc.),
over Debian 6 / Ubuntu 11.10 and Nginx 1.1.12, here is the
config file that we used:

# nginx - /etc/nginx/sites-available/feng
#
server {
	listen 80;
	server_name feng.localhost;
	access_log /var/log/nginx/feng.access.log;
	error_log /var/log/nginx/feng.error.log;
	root /var/www/fengoffice;
	index index.php;
	client_max_body_size 8M;
	location ~ ^(?<script>.+\.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.



More information about the nginx mailing list