So I’m using nginx as my web server, and I’d like to use the ikiwiki CGI script - unfortunately, nginx has no CGI script. I found this, which has the gist of how to setup nginx + thttpd, but the details were a bit fiddly. So:

In your site.setup, you need these lines:

cgi_wrapper => '/srv/web/',
cgiurl => '',