@@ -23,8 +23,47 @@ releases:
2323- 1.3.x (tested with 1.3.0 to 1.3.9).
2424
2525
26- Configuration directives
27- ========================
26+ Configuration directives (same location syntax)
27+ ===============================================
28+ fastcgi_cache_purge
29+ -------------------
30+ * ** syntax** : ` fastcgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]] `
31+ * ** default** : ` none `
32+ * ** context** : ` location `
33+
34+ Allow purging of selected pages from ` FastCGI ` 's cache.
35+
36+
37+ proxy_cache_purge
38+ -----------------
39+ * ** syntax** : ` fastcgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]] `
40+ * ** syntax** : ` proxy_cache_purge zone_name key `
41+ * ** default** : ` none `
42+ * ** context** : ` location `
43+
44+ Allow purging of selected pages from ` proxy ` 's cache.
45+
46+
47+ scgi_cache_purge
48+ ----------------
49+ * ** syntax** : ` scgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]] `
50+ * ** default** : ` none `
51+ * ** context** : ` location `
52+
53+ Allow purging of selected pages from ` SCGI ` 's cache.
54+
55+
56+ uwsgi_cache_purge
57+ -----------------
58+ * ** syntax** : ` uwsgi_cache_purge on|off|<method> [from all|<ip> [.. <ip>]] `
59+ * ** default** : ` none `
60+ * ** context** : ` location `
61+
62+ Allow purging of selected pages from ` uWSGI ` 's cache.
63+
64+
65+ Configuration directives (separate location syntax)
66+ ===================================================
2867fastcgi_cache_purge
2968-------------------
3069* ** syntax** : ` fastcgi_cache_purge zone_name key `
@@ -61,8 +100,24 @@ uwsgi_cache_purge
61100Sets area and key used for purging selected pages from ` uWSGI ` 's cache.
62101
63102
64- Sample configuration
65- ====================
103+ Sample configuration (same location syntax)
104+ ===========================================
105+ http {
106+ proxy_cache_path /tmp/cache keys_zone=tmpcache:10m;
107+
108+ server {
109+ location / {
110+ proxy_pass http://127.0.0.1:8000;
111+ proxy_cache tmpcache;
112+ proxy_cache_key $uri$is_args$args;
113+ proxy_cache_purge PURGE from 127.0.0.1;
114+ }
115+ }
116+ }
117+
118+
119+ Sample configuration (separate location syntax)
120+ ===============================================
66121 http {
67122 proxy_cache_path /tmp/cache keys_zone=tmpcache:10m;
68123
0 commit comments