Welcome! Log In Create A New Profile

Advanced

Cache does not work

Daniel Podolsky
October 14, 2009 05:18AM
День добрый!

Win Server 2003 R2, nginx 0.8.19

Для определенной локации написано
proxy_temp_path d:/nginx/temp/proxy 1 2;
proxy_cache_path d:/nginx/cache levels=1:2 keys_zone=backend:10m;
proxy_cache backend;
#
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cache_valid 10m;
proxy_pass http://backend;
log_format cache_log '$remote_addr - $remote_user [$time_local]
"$request" $upstream_cache_status';
access_log d:/nginx/logs/cache.log cache_log;

Проксирование работает прекрасно.
Кеширование - не работает, в логе MISS на каждый запрос.
В error_log - много вот такого:
2009/10/14 01:44:29 [crit] 3256#3264: *559 CreateDirectory() "d:"
failed (5: Access is denied) while reading upstream, ...

Куда глядеть, скажите пожалуйста?

PS
Директива error_log
Subject Author Posted

Cache does not work

Daniel Podolsky October 14, 2009 05:18AM

Re: Cache does not work

Igor Sysoev October 14, 2009 05:50AM

Re: Cache does not work

Igor Sysoev October 14, 2009 05:54AM

Re: Cache does not work

Igor Sysoev October 14, 2009 06:06AM

Re: Cache does not work

Daniel Podolsky October 14, 2009 06:18AM

Re: Cache does not work

Daniel Podolsky October 14, 2009 06:22AM

Re: Cache does not work

Alexey Mahotkin October 14, 2009 06:30AM

Re: Cache does not work

Igor Sysoev October 14, 2009 06:54AM

Re: Cache does not work

big bond October 14, 2009 08:44AM

Re: Cache does not work

gf pro October 14, 2009 08:56AM

Re: Cache does not work

Igor Sysoev October 14, 2009 09:08AM

Re: Cache does not work

Daniel Podolsky October 14, 2009 10:30AM

Re: Cache does not work

Igor Sysoev October 14, 2009 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready