Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spawn fcgi upstream


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: spawn fcgi upstream
  • From: ruslan usifov <ruslan.usifov@xxxxxxxxx>
  • Date: Wed, 8 Sep 2010 15:52:17 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=OFNOBJG4d8HRyIqWak05ir8kg4D/44owL7qlOaixOyY=; b=YGMz4EqsRX6jYAKNANDJTsKmxcOSFAByL3t1yfyQBqPdGIUcqiOnUNjQ2La6S7xMoL pfT5Iw/uzzRgzIgmsImEDKzt86moeHawhQOFyr8S1AC1FK3Npse1OOMNZ657kFzCyDx9 wWYkD0hyVOObwW3CPc/MRDTj9rtar0Ojd4mV0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tH78eZr+sPWdhDWjeeh2LCbYUvvMDWGya3ISKFO/7+9aSFqVNFyIqPZxpzbyR1RlVb 0u+z7uBSEca9AEF1ycAw9jel0t/s+tWT7pVchhRL3gctm96EByFFmEKrfTcWdo6rdBAy frluTtBjVoDU+gbxMd/sNqud9lia+wATW9omo=
  • In-reply-to: <29752b1fbc441f50d739280e44dc0e00.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <29752b1fbc441f50d739280e44dc0e00.NginxMailingListRussian@xxxxxxxxxxxxxxx>

php , /var/vhosts/test.ru/www

8 2010. 15:47 nilas <nginx-forum@xxxxxxxx> :
.
-,
2- .
2 ,
nginx, spawn_fcgi -
,
.

php- (
2- spawn_fcgi).
,
- .
.

X - nginx, -
X - spawn_fcgi
Y - spawn_fcgi

[code]
upstream backend {
server unix:/var/run/fastcgi_sock;
server Y:9000;
}



server {
listen 80 default accept_filter=httpready;
server_name test.ru;
access_log off;



error_log /var/vhosts/test/logs/player.error.log error;

location / {
gzip_static on;
root /var/vhosts/test.ru/www;
index index.html index.php;
}


location ~ /\.ht {
deny all;
}

location ~ \.php$ {

fastcgi_pass backend;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/vhosts/test.ru/www$fastcgi_script_name;
fastcgi_buffer_size 128k;

fastcgi_buffers 4 256k;

include fastcgi_params;

}
[/code]




2- ,
Y, -
"No input file specifed".
, .

nginx 0.7.67
spawn_fcgi 1.6.3

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


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.