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: error_page fastcgi_ pass


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: error_page fastcgi_ pass
  • From: Mikhail Mazursky <ash2kk@xxxxxxxxx>
  • Date: Fri, 28 Jan 2011 10:16:40 +0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=GvF4h3Bx+qexNiNf4cXVOOFxaFE6NKJrWu3Eq2n/uyY=; b=EmU1lEVlftIbfSncqKdtaXEafIrB/50dEI1IyRdZdLTYm510XemCgoJtNu9XqNiiYF uUvtX/O4uN/lfvK8+XeJ/Q5KgyAIJrMx4YaVeqrUHadui0dBrBeORP7yHmqktxjR+lnU BpLFc3mFg6/aws9PcHbRvlmBhKM3Lp+++fMcE=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=cAoLPkk6bUkgo/x+ogGnPl4a7Ss216UbE12rKxUnTze2qysC996QiRUSeCWevrwYze JNxkeF9PBH5Wvrfrw7kMy42CwOu6j3i53+PPeDZCG20rbJr52AVOJiRItdnLOnZH3Ijt bJnDqSwhWwlpPiur/kHhgOU1NOJGwXndrQVaw=
  • In-reply-to: <AANLkTik5gudOtyPWhSq6=wE1nLDCBMCFBPrA2g0XUrZu@xxxxxxxxxxxxxx>
  • References: <AANLkTik5gudOtyPWhSq6=wE1nLDCBMCFBPrA2g0XUrZu@xxxxxxxxxxxxxx>

28  2011. 10:01   
<ivan@xxxxxxxxxxxxx> :
>  nginx 0.7.65,  ubuntu 10.04.
>
>     /etc/nginx/sites-enabled/:
>
> server {
>  listen  80;
>  access_log /var/log/nginx/site-access.log;
>
>  error_page 404 403 =404 /storage/404.html;
>  proxy_intercept_errors on;
>
>  location / {
>    fastcgi_pass  127.0.0.1:3001;
>    include /etc/nginx/fastcgi_params;
>   }
>
>  location /storage/ {
>    alias /var/www/site-storage/;
>    expires 30d;
>  }
> }
>
>  ,      ,   404
>  403,     .
>    /storage/asdf,     /asdf.  
>    error_page      
> fastcgi_pass.
>
> , ,   -   nginx 
>      /asdf.

 proxy_intercept_errors on;  fastcgi_intercept_errors on;
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.