Welcome! Log In Create A New Profile

Advanced

proxy_cache

July 07, 2009 02:10PM
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
{
server 10.176.67.151:8080;
}


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


server {
listen 10.176.67.151:80;

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

}
Subject Author Posted

proxy_cache

vburshteyn July 07, 2009 02:10PM

Re: proxy_cache

Payam Chychi July 07, 2009 02:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
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