Re:

Anton Kiryushkin swood fotofor.biz
11 20:28:31 UTC 2012


, bcj = name_upstream.

12  2012. 0:27  Anton Kiryushkin
<swood at fotofor.biz> :
>  :
> """name_upstream""502""EXPIRED"
>  """server1, server2""502, 502""-"
>  """bcj""502""MISS"
>
>        5 :
>    location = / {
>      proxy_ignore_headers Cache-Control Expires Set-Cookie;
>      proxy_cache_bypass $http_x_update;
>
>      proxy_cache cache_page;
>      proxy_cache_key $scheme$host$request_uri;
>      proxy_cache_valid 5m;
>      proxy_hide_header "Set-Cookie";
>
>      proxy_cache_use_stale error invalid_header timeout
> updating http_500 http_502 http_503 http_504 http_404;
>
>      proxy_pass http://backend;
>      proxy_set_header X-Real-IP $remote_addr;
>      proxy_set_header Host $http_host;
>      proxy_redirect default;
>      proxy_buffering on;
>
>    }
>
> 9  2012. 5:10  Maxim Dounin <mdounin at mdounin.ru> :
>> Hello!
>>
>> On Sun, Jan 08, 2012 at 09:24:58PM +0400, Anton Kiryushkin wrote:
>>
>>>       .   access   502.
>>
>>   -   error_log',     $upstream_addr,
>> $upstream_status, $upstream_cache_status (  access_log).
>>
>> Maxim Dounin
>>
>>>
>>> 8  2012. 16:52  Maxim Dounin <mdounin at mdounin.ru> :
>>> > Hello!
>>> >
>>> > On Fri, Jan 06, 2012 at 04:48:59PM +0400, Anton Kiryushkin wrote:
>>> >
>>> >>     nginx,      ,
>>> >>  ,   ctrl + f5  502- ,  
>>> >>        .  
>>> >> :
>>> >>
>>> >> location / {
>>> >>       proxy_ignore_headers Cache-Control Expires Set-Cookie;
>>> >>       proxy_hide_header "Set-Cookie";
>>> >>
>>> >>       proxy_cache cache_page;
>>> >>       proxy_cache_key $scheme$host;
>>> >>       proxy_cache_valid 1m;
>>> >>
>>> >>       proxy_cache_use_stale error timeout invalid_header
>>> >> updating http_500 http_502 http_503 http_504 http_404;
>>> >>
>>> >>       proxy_pass http://backend;
>>> >>       proxy_set_header X-Real-IP $remote_addr;
>>> >>       proxy_set_header Host $http_host;
>>> >>       proxy_redirect default;
>>> >>       proxy_buffering on;
>>> >> }
>>> >>
>>> >>      , 502-  , 
>>> >>     -    .
>>> >
>>> >      ?
>>> >
>>> > Maxim Dounin
>>> >
>>> > _______________________________________________
>>> > nginx-ru mailing list
>>> > nginx-ru at nginx.org
>>> > http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Anton Kiryushkin,
>>> _______________________________________________
>>> nginx-ru mailing list
>>> nginx-ru at nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
>
>
> --
> Best regards,
> Anton Kiryushkin,



-- 
Best regards,
Anton Kiryushkin,


nginx-ru