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