server { listen 80; server_name phpldapadmin.nausch.org; access_log /var/log/nginx/phpldapadmin_access.log; error_log /var/log/nginx/phpldapadmin_errors.log; root /usr/share/phpldapadmin/htdocs/; index index.php index.html; location ~ \.php { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }