
|

|

|

|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx rewrite + memcached не срабат ывает эта связка
делаю так:
в твоем случае должно быть нечто похожее
location = / {
set $memcached_key "/";
default_type text/html;
memcached_pass localhost:11211;
error_page 404 @mc;
}
location @mcu {
fastcgi_pass localhost:9000;
fastcgi_param page user;
fastcgi_param user_id $user_id;
include fastcgi_params;
log_format test2 '$time_local; $status; $request; $host;
key=$memcached_key; user_id=$user_id; uri=$request_uri';
access_log logs/acceess1.log test2;
}
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|

|