Need help on fast cgi c++ configuration on windows

coolbhushans@gmail.com nginx-forum at nginx.us
Thu Jan 24 18:23:41 UTC 2013


Hi everyone 
I am new to nginx  so really need u r help 


My problem is that i set up niginx server on windows  and it runs very well 
. But i want to run c++ programs i.e(.exe)
so i come accross fast-cgi lib then i compiled source successfully now i
have fast cgi wraper for .exe ie. cgi-fcgi.exe

now i changed in nginx.conf as 

location ~ /fcgi/$ {
    include fastcgi_params;
    fastcgi_pass 127.0.0.1:3000;
}

and running it as http://localhost/fcgi/ in browser

it not working so i checked error log and i found
upstream prematurely closed connection 

so any guess 
thanks in advance

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235556,235556#msg-235556



More information about the nginx mailing list