Cache purge

Events happening in the community are now at Drupal community events on www.drupal.org.
superfedya's picture

Perusio D6 config and ngx_cache_purge and CloudFlare question

Hi,

I installed Nginx with ngx_cache_purge module. I want to use it with this module: https://www.drupal.org/project/purge
http://labs.frickle.com/nginx_ngx_cache_purge/

Somebody know where I need put:

proxy_cache_path   /tmp/cache   keys_zone=tmpcache:10m;

location / {
proxy_pass      http://127.0.0.1:8000;
proxy_cache     tmpcache;
  proxy_cache_key     $uri$is_args$args;
proxy_cache_purge   PURGE from 127.0.0.1;
}

I found proxy_cache_path in fastcgi_microcache_zone.conf - /var/cache/nginx/microcache.

And about CloudFlare.

Read more
Subscribe with RSS Syndicate content