ngx_cache_purge - nginx 缓存清除插件
GPL
跨平台
C/C++
软件简介
ngx_cache_purge 是 nginx 模块,此模块可以清理 nginx 的 FastCGI、proxy、 SCGI 和 uWSGI 的缓存。
配置指令(相同位置语法)
fastcgi_cache_purge
-
syntax:
fastcgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]]
-
default:
none
-
context:
http
,server
,location
允许从 FastCGI 的缓存中清除所选页面。
proxy_cache_purge
-
syntax:
proxy_cache_purge on|off|<method> [from all|<ip> [.. <ip>]]
-
default:
none
-
context:
http
,server
,location
允许从代理缓存中清除所选页面。