Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/angie-module-cache-purge: Angie cache_purge dynamic module
Module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches. PR: 272999
- Loading branch information
1 parent
41d2ade
commit e031e6e
Showing
5 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
PORTNAME= angie-module-cache-purge | ||
GH_TUPLE= nginx-modules:ngx_cache_purge:2.5.3:module | ||
|
||
COMMENT= Angie cache_purge dynamic module | ||
|
||
MASTERDIR= ${.CURDIR}/../../www/angie | ||
|
||
do-install: | ||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${MKDIR} ${STAGEDIR}${MODDIR} | ||
|
||
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_cache_purge_module.so \ | ||
${STAGEDIR}${MODDIR} | ||
|
||
${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR} | ||
|
||
do-install-DEBUG-on: | ||
${INSTALL} ${COPY} -m ${_SHAREMODE} \ | ||
${WRKSRC_DEBUG}/objs/ngx_http_cache_purge_module.so \ | ||
${STAGEDIR}${MODDIR}/ngx_http_cache_purge_module-debug.so | ||
|
||
.include "${MASTERDIR}/Makefile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
|
||
The cache_purge dynamic module for Angie has been installed. | ||
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf | ||
and reload angie: | ||
|
||
load_module modules/ngx_http_cache_purge_module.so; | ||
|
||
Please refer to the module documentation for further details: | ||
https://github.com/nginx-modules/ngx_cache_purge | ||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Module adds ability to purge content from FastCGI, proxy, SCGI and uWSGI | ||
caches. A purge operation removes the content with the same cache key as the | ||
purge request has. This module is production-ready. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
%%DOCSDIR%%/README.md | ||
%%MODDIR%%/ngx_http_cache_purge_module.so | ||
%%DEBUG%%%%MODDIR%%/ngx_http_cache_purge_module-debug.so |