I'm trying to install colplot (http://collectl-utils.sourceforge.net/colplot.html) on a server that is running nginx. The colplot installer provides an Apache configuration setup but I do not know how to convert this to the nginx config.
Here is the apache configuration:
$ cat /colplot-apache.conf
# The following stanza enables colplot
<Directory "/var/www/colplot">
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
AllowOverride None
Options None
Options +followsymlinks +execcgi
Order allow,deny
Allow from all
</Directory>
The index.cgi is a Perl script. Can anyone help me set this up with nginx?
Thanks in advance.