Re: Auto refresh for expired content?

2017-05-29 Thread mkuehn
Hi Roman, i would like to kindly ask you, if you already had the time to take a look at my config, which i posted on May 18, 2017 10:02AM? Thanks in advanced! Maik Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274264,274493#msg-274493 ___

Re: Auto refresh for expired content?

2017-05-18 Thread mkuehn
Hi Roman, hi Francis, here comes my production config - i made a few tests the last hours, it always come to the same point - if proxy_cache_background_update is on, nginx devilvers only the cached content and is not able to fetch a fresh copy (dont know why) - i tried local files, i tried my prod

Re: Auto refresh for expired content?

2017-05-17 Thread mkuehn
Hi Roman, thanks for your reply - with proxy_cache_background_update is OFF, the correct testfile "test.js"is requested: "GET /test.js HTTP/1.0" 200 199503 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36" With proxy_cache_b

Re: Auto refresh for expired content?

2017-05-17 Thread mkuehn
Hi Francis, thanks a lot for your reply! I tried to use proxy_cache_background_update with the following config part. proxy_cache_path /var/cache/nginx/spieldaten levels=1:2 keys_zone=spieldaten:100m max_size=150m inactive=5d use_temp_path=off; ... ... ... proxy_cache test;

Auto refresh for expired content?

2017-05-16 Thread mkuehn
Hi Folks, i´m using Nginx as a proxy for my mobile app - which works pretty fine so far! My main cache has the following config: proxy_cache_path /var/cache/nginx/spieldaten levels=1:2 keys_zone=spieldaten:100m max_size=150m inactive=5m use_temp_path=off; proxy_cache_valid 200 302 5m; If a requ