ngx_cache_purgenginx 緩存清除插件
ngx_cache_purge 是 nginx 模塊,此模塊可以清理 nginx 的 FastCGI、proxy、 SCGI 和 uWSGI 的緩存。
配置指令(相同位置語法)
fastcgi_cache_purge
syntax:
fastcgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]]default:
nonecontext:
http,server,location
允許從 FastCGI 的緩存中清除所選頁面。
proxy_cache_purge
syntax:
proxy_cache_purge on|off|<method> [from all|<ip> [.. <ip>]]default:
nonecontext:
http,server,location
允許從代理緩存中清除所選頁面。
評論
圖片
表情
