This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.0. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.
Full story »