FCGI Wrap | NGINX

An example NGINX configuration that uses fcgiwrap to run CGI applications over FastCGI.