<div dir="ltr">This directive is available only on paid version<div><br></div><div><p style="text-align:justify;color:rgb(0,0,0);font-family:sans-serif;font-size:medium;line-height:22.4px">Additionally, the following parameters are available as part of ourĀ <a href="http://nginx.com/products/">commercial subscription</a>:</p><p style="text-align:justify;color:rgb(0,0,0);font-family:sans-serif;font-size:medium;line-height:22.4px"></p><dl class="" style="margin:0.5em 0px 1em;color:rgb(0,0,0);font-family:sans-serif;font-size:medium;line-height:22.4px"><dt id="purger" style="margin:0.5em 0px 0.2em"><code>purger</code>=<code>on</code>|<code>off</code></dt></dl></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 28, 2015 at 8:10 AM, Dewangga Bachrul Alam <span dir="ltr"><<a href="mailto:dewanggaba@xtremenitro.org" target="_blank">dewanggaba@xtremenitro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
I am using nginx 1.8.0 on Cent OS 7, tried to enable purger directive,<br>
mentioned on<br>
<a href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path" rel="noreferrer" target="_blank">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path</a><br>
<br>
But got error like this :<br>
nginx[46931]: nginx: [emerg] invalid parameter "purge=on" in<br>
/etc/nginx/conf.d/proxy.conf:5<br>
<br>
My complete directive are like this :<br>
proxy_cache_path /var/cache/nginx/proxy_cache levels=1:2<br>
keys_zone=mycache:10m inactive=60m use_temp_path=on purger=on<br>
purger_files=100 max_size=20g;<br>
proxy_temp_path /var/cache/nginx/proxy_temp 1 2;<br>
proxy_cache_key "$scheme$proxy_host$uri$is_args$args";<br>
<br>
Any hints ?<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>