Группа fastcgi-server'овВ)ЭЈ5Ыќ[не работают параметры серверов
Roxis
roxis at list.ru
Thu May 31 14:53:51 MSD 2007
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{}. )
More information about the nginx-ru
mailing list