Is proxy_cache_purge directive not available in NGINX free version ?

Roman Arutyunyan arut at
Wed Jun 21 13:40:25 UTC 2017


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

 "This functionality is available as part of our commercial subscription."

Roman Arutyunyan

More information about the nginx mailing list