The cache_purge module adds the ability to purge content from the
proxy, FastCGI, SCGI and uwsgi caches of nginx.
This port only installs the module sources. The module itself is built
by the nginx ports when their CACHE_PURGE option is enabled.
www/nginx-module-cache-purge: Update to 3.0.4
Fixes a symlink traversal during cache tree traversal: an attacker able to
create symbolic links inside the cache directory could make a purge delete
arbitrary files the worker can reach (CVE-2026-108981).
https://github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.4
Security: CVE-2026-108981
Sponsored by: Netzkommune GmbH
www/nginx-module-cache-purge: Update to 3.0.3
Upstream has turned the snapshot into a release. It fixes a segfault on
PURGE requests in locations without a configured proxy cache, which now
return 404, keeps the separate purge location configuration inside "if"
blocks and adds regression coverage for inherited configuration and cache
key handling.
Changes: https://github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.3
Sponsored by: Netzkommune GmbH
www/nginx-module-cache-purge: Update to 3.0.2.20260524
Snapshot of the current upstream tree. It fixes 404 responses on
non-PURGE requests when an "if" block is present, either at server
level or inside the location.
Sponsored by: Netzkommune GmbH
www/nginx-module-cache-purge: Fix proxy_cache_purge on freenginx
The module mirrors ngx_http_proxy_loc_conf_t privately and enables the
host_set field for nginx_version >= 1029004. freenginx does not have
that field, so plcf->cache_key is read at the wrong offset and a PURGE
request kills the worker process.
Sponsored by: Netzkommune GmbH
www/nginx-module-cache-purge: Add New Port
The cache_purge module adds the ability to purge content from the
proxy, FastCGI, SCGI and uwsgi caches of nginx. This port installs the
module sources only, the module itself is built by the nginx ports.
Sponsored by: Netzkommune GmbH