ПРОЕКТЫ 


  АРХИВ 


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: header connection close


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: header connection close
  • From: Roxis <roxis@xxxxxxx>
  • Date: Mon, 3 Dec 2007 13:00:02 +0100
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=DJL/0NoM4QVYJuE6sujs0zqIzG51zxuixHykCkqyA4I=; b=h+8q7A3BwM61Idyv1HBckqU7MD3aiJDx8qu5ZHibn+RJHIxQ8mtUVkRKuHYdo+3GU/oyc7YQLspg3WfLZzYTXHLLXtqmDq7bRMYOLAVdnHiaWDfejAGhYhPXLk9VefaJEw91V/SFirUtj7i49kLqtO6GUZ2Sadr5ItT0x7utwX4=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=nyETHug/nLDYdHCUf3fhRq8LcA3IMs21AsELEn5DHPFT8PSr1XHMUqFagyJjnRV0MISOYmNUxWuMYNtWoaNbPJtgy2OUeF+RGSUrRe9eh0KHqqNVh15JwKgNz8xsDfm0S1v6ihyBKCWIbOwwGCb77g9VN9INHbh3O7dbKMTytaw=
  • In-reply-to: <1406098537.20071203144049@xxxxxxxxxxxx>
  • References: <15110148844.20071203134407@xxxxxxxxxxxx> <187115027.20071203172347@xxxxxxxxxx> <1406098537.20071203144049@xxxxxxxxxxxx>

On Monday 03 December 2007, Arkadiy Kulev wrote:
> у меня сначала стоит проверка на наличие файла через
> блок if. а в него keepalive_timeout нельзя вставлять по правилам
> nginx.
>
> if (!-f $request_filename) {
>    add_header Connection close;
>    break;
>    proxy_pass http://backend;
> }

заменить if обработчиком 404 ошибки


 




Copyright © Lexa Software, 1996-2009.