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: