|
|
|
|
АРХИВ :: 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
- To: nginx-ru@xxxxxxxxx
- Subject: Re: глюки при работе с memcached
- From: Anton <anton200@xxxxxxxxx>
- Date: Tue, 16 Oct 2007 14:24:39 +0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HQa6LpEmTdhs1+0If+RRMAlqtcqm9rVein+ikvb4ehc=; b=hqMFk7wV/L21ZsdvogtDnVBUPwGFSUHbTmPHyamKkVzTD63zakU0/vD44UT374gR77/VJ+CqejbDFNU8pBiy3jJCMhm0MY33H8leE5NJflJS3HVBt01fOafc4DGWT1E2UufqsLwA04ZyFHQ1mcw488RJWbL6GEmJBxmkKMfGP8c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J6RQvf6mabUZwv9vPJ2jLPNYbuGdHGP5yCFlPNORPWCOJos7bJjChLk1rk/lg0seIFduXgGCFlKW4dZ641JCk+nVcQZMVFuSAkCNTieQe0v+P643yZxzw5mND7cqTLVHB2JCDvbuaM2x9p2NlTYaRFQ6bdmOxGhkQB1JLWHigWg=
- In-reply-to: <8cac8dd0710160053l54819e8cv2b8feacbbc9d4ad6@xxxxxxxxxxxxxx>
- References: <8cac8dd0710160053l54819e8cv2b8feacbbc9d4ad6@xxxxxxxxxxxxxx>
> Включил memcached.
> После этого если на главной странице нажать Ctrl+F5 (в Firefox )
> браузер предлагает application/octet-stream... предлагает сохранить файл
> вобщем.
> На других страницах такого нет.
>
> $ nginx -v
> nginx version: nginx/0.5.32
Конфиг такой
location / {
set $memcached_key "$uri";
memcached_pass 127.0.0.1:11211;
error_page 404 = /fallback;
}
location = /fallback {
proxy_pass http://localhost:8080;
proxy_redirect http://мойсайт.ru:8080/ /;
proxy_set_header X-Real-IP $remote_addr;
#
proxy_buffer_size 4k;
proxy_buffers 8 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
--
engineer
|
|
|