|
From: | Volker Schreiner |
Subject: | Re: [Fastcgipp-users] Configuring nginx and fastcgicpp ( fastcgi c++) |
Date: | Thu, 27 Jan 2011 10:49:14 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 |
If i see it right you open a unixsocket in /tmp/user.socket by -s
/tmp/user.socket in the spawn-fcgi call but you try to connect a TCP/IP socket with fastcgi_pass 127.0.0.1:9000;. There are two possible ways to solve the problem: You try to connect the unixsocket by editing the nginx config. fastcgi_pass unix:/tmp/user.socket; Spawn fcgi opens a TCP/IP socket. spawn-fcgi.standalone -u root -g root -G www-data -a 127.0.0.1 -p 9000 -f /home/user/deployment/echo.fcgi If you run the nginx on the same machine than the application, what is done by the 127.0.0.1, i recommend the unixsocket because of the missing TCP/IP handling you should reach a better performance. Best regards, Volker Schreiner Am 27.01.2011 10:23, schrieb Aryasheel Pradhan: Hi -- Mit freundlichen Grüßen Volker Schreiner |
[Prev in Thread] | Current Thread | [Next in Thread] |