vburshteyn nginx-forum at
Tue Jul 7 22:10:21 MSD 2009

Hi folks,  Before i get started i read that somebody posted simmilar thread but since i am still learning this, the answer/solution did not make sense.

I have set up proxy_cache on my nginx but it seems that it is not writing to the cache directory.

http {

upstream backend

proxy_cache_path /etc/nginx/cache/ levels=1:2 keys_zone=one:10m max_size=200m;
#proxy_temp_path /etc/nginx/temp; 

server {

location / {
proxy_pass http://backend;
proxy_cache one;
proxy_cache_key         backend$request_uri;
proxy_cache_valid       10m;
include /etc/nginx/proxy.conf;


Posted at Nginx Forum:,3826,3826#msg-3826

More information about the nginx mailing list