Hi, On Wed, Jun 21, 2017 at 09:31:03AM -0400, rebaca wrote: > Hi > > I am trying to experiment with purging cache content in Nginx server. The > Nginx I have is a free version (Not Nginx Plus version). > > As per one of the document from Nginx website, in order to enable purging on > Nginx, I need to use the directive - proxy_cache_purge. > > But when I try to add this directive in Ngnix configuration and start the > server, I get the following error: > > > "nginx: [emerg] unknown directive "proxy_cache_purge" in > /etc/nginx/nginx.conf:104" > > > Is this directive proxy_cache_purge is not available in Nginx Free version ? > If so it is available in Nginx Plus version ?
Yes, the feature is only available in NGINX Plus, as stated in the documentation: "This functionality is available as part of our commercial subscription." http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_purge -- Roman Arutyunyan _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx