ПРОЕКТЫ 


  АРХИВ 


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: Группа fastcgi-server'ов, не работают параметры серверов


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Группа fastcgi-server'ов, не работают параметры серверов
  • From: Roxis <roxis@xxxxxxx>
  • Date: Thu, 31 May 2007 12:53:51 +0200
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=f6xqGUIJQiB72tk+Sw7PCqyQRLwUotgQHjJ3l+ytfeE0spiopbezVJVrLb1J5qTqaM9xgRiHtnefo8ixxF8HQTLyrpvceADZ9DH18IVo+teqUBOOOctj6H4UVrmYdzdDPP4tAhSX+Ov7o28lipoI9Uy2BAqSPf0rplQ/40+JqBg=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=HF95cM95oKR1EhMqiI+GYmZBKV3jyDB0Ju8g9gtYsc0YMBDVOv3y48C54SCI1RJEm/+QJFskQnLXEiso6K0bboLdtFcv7CzIhQewP03j5SCZZ/5QA9vHJzjCddcrPXoV8Ww3XryhrP4YIBvAWJ1//wld4pDLJubRxEmvdEq1FlE=
  • In-reply-to: <E1HtWiN-0002k4-VL@xxxxxxxxxxxx>
  • References: <E1HtWiN-0002k4-VL@xxxxxxxxxxxx>

On Thursday 31 May 2007, Владислав Продан wrote:
>         location ~ \.php$ {
>             root        /usr/local/sitebuilder/htdocs;
>             fastcgi_pass   fast-cgi-backend;
>             fastcgi_index  index.php;
>             fastcgi_param  SCRIPT_FILENAME 
> /usr/local/htdocs$fastcgi_script_name; fastcgi_param   PHPRC          
> /usr/local/php;
>             include        conf/fastcgi_params;
>         }
>
>     upstream  fast-cgi-backend  {
>        server   127.0.0.1:1088        weight=5;
>        server   127.0.0.1:1089        max_fails=3  fail_timeout=30s;
>     }
>

похоже что контекст server, а не http.
( upstream должен быть внутри http{}, а не server{}. )


 




Copyright © Lexa Software, 1996-2009.