purger directive not available

Dewangga Bachrul Alam dewanggaba at xtremenitro.org
Sat Nov 28 10:10:42 UTC 2015


I am using nginx 1.8.0 on Cent OS 7, tried to enable purger directive,
mentioned on

But got error like this :
nginx[46931]: nginx: [emerg] invalid parameter "purge=on" in

My complete directive are like this :
proxy_cache_path /var/cache/nginx/proxy_cache levels=1:2
keys_zone=mycache:10m inactive=60m use_temp_path=on purger=on
purger_files=100 max_size=20g;
proxy_temp_path /var/cache/nginx/proxy_temp 1 2;
proxy_cache_key "$scheme$proxy_host$uri$is_args$args";

Any hints ?

More information about the nginx mailing list