Nginx and FastCGI C/C++

Hello is it possible, that nginx can open FastCGI Application’s like the
Apache2 mod_fastcgi and open applications like:

#include <fcgi_stdio.h>

int main(void)
{
   unsigned int counter = 1;
   while(FCGI_Accept() >= 0)
   {
      printf("Content-type: text/html\r\n\r\n");
      printf("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\"\r\n");
      printf(" 
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n\r\n");
      printf("<html>\r\n");
      printf("   <head>\r\n");
      printf("      <title>FastCGI ist schnell!</title\r\n");
      printf("   </head>\r\n");
      printf("   <body>\r\n");
      printf("      <h1>Das erste FastCGI</h1>\n\r");
      printf("      <p>Das FastCGI wurde bisher %d mal 
aufgerufen</p>\r\n",
            counter++);
      printf("   </body>\r\n");
      printf("</html>\r\n");
   }
   return 0;
}

The file ending should be index.fcgi, and i don’t want a fastcgi_pass
directive… Is this possible?

Posted at Nginx Forum:

Why don’t you want a fastcgi_pass directive?

Otherwise it’s easy especially with the use of supervisord from my own
experience. See the thread

for more details

Posted at Nginx Forum:

Why creating a socket and spawn it by myself with spawn-fcgi or another
fcgi wrapper?! It’s easier on Apache2 where my .fcgi files wrapped
automatically.

Posted at Nginx Forum: