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: memcached upstream: exited on signal 11



, .

server {
        listen          192.168.0.205;
        server_name     feed.domain.com;

        location / {

                 #    $memcached_key
        
                if ($request_uri ~ "\/(\d+)\/blogs\.(rss|rss2|atom)\.xml$") {
                        set     $user_id        "$1";
                        set     $type           "$2";
                        set     $memcached_key  "blogfeed::$user_id::$type";

                        error_page      404 502 504 = 
/generate/private/generate_blogfeed.php?user_id=$user_id&type=$type;
                }

                memcached_pass  192.168.0.205:11211;
        }

        location /generate {
                internal;
                proxy_pass              http://192.168.0.205:8001/;
                proxy_set_header        Host    domain.com;

        }
}



-- 
 ,
ۣ , SoftSearch.ru
mailto:postmaster@xxxxxxxxxxxxx
ICQ# 166233339
http://michael.mindmix.ru/
   .




 




Copyright © Lexa Software, 1996-2009.