configuratioin fastcgi C/C++ program

JCR nginx-forum at
Wed Jun 2 17:52:12 MSD 2010


Thank your for your help. I have supervisor running with:
at the end of supervisord.conf:

131 [fcgi-program:chat]
132 command=/websites/nginx/chat.toff
133 socket=tcp://localhost:9000

supervisor> status
chat                             RUNNING    pid 4904, uptime 0:01:45

in my nginx.conf file I have:
56         location ~ \.toff$ {
57             #include /usr/local/nginx/conf/fastcgi.conf;
58             fastcgi_pass localhost:9000;
59         }

now when I browse my page, I am getting this in logs/error.log
2010/06/02 09:45:31 [error] 5839#0: *136 upstream prematurely closed connection while reading response header from upstream, client:, server: *, request: "GET /chat.toff HTTP/1.1", upstream: "fastcgi://", host: ""

Any idea? Thanks again

Posted at Nginx Forum:,93268,93580#msg-93580

More information about the nginx mailing list