nginx is not for CGI that's why no result showed.
CGI was popular at 1990-early 2000.
Even apm(apache php mysql) relied on CGI between apache and php.
I remember doing "custom compiles" for a number of local early web host / Internet providers because their admins didn't want to build C code.