-
Notifications
You must be signed in to change notification settings - Fork 728
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-headers-more: Angie headers-more dynamic module
Module allows to set and clear input and output headers. This is an enhanced version of the standard headers module because it provides more utilities like resetting or clearing "builtin headers" like Content-Type, Content-Length, and Server. PR: 273462
- Loading branch information
1 parent
ed1ed7c
commit 8b4c54d
Showing
5 changed files
with
47 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,24 @@ | ||
PORTNAME= angie-module-headers-more | ||
GH_TUPLE= openresty:headers-more-nginx-module:v0.34:module | ||
|
||
COMMENT= Angie headers-more dynamic module | ||
|
||
LICENSE_FILE= ${WRKSRC_module}/README.markdown | ||
|
||
MASTERDIR= ${.CURDIR}/../../www/angie | ||
|
||
do-install: | ||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${MKDIR} ${STAGEDIR}${MODDIR} | ||
|
||
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_headers_more_filter_module.so \ | ||
${STAGEDIR}${MODDIR} | ||
|
||
${INSTALL_MAN} ${WRKSRC_module}/README.markdown ${STAGEDIR}${DOCSDIR} | ||
|
||
do-install-DEBUG-on: | ||
${INSTALL} ${COPY} -m ${_SHAREMODE} \ | ||
${WRKSRC_DEBUG}/objs/ngx_http_headers_more_filter_module.so \ | ||
${STAGEDIR}${MODDIR}/ngx_http_headers_more_filter_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 headers-more 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_headers_more_filter_module.so; | ||
|
||
Please refer to the module documentation for further details: | ||
https://github.com/openresty/headers-more-nginx-module/ | ||
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,4 @@ | ||
Module allows to set and clear input and output headers. | ||
This is an enhanced version of the standard headers module because it provides | ||
more utilities like resetting or clearing "builtin headers" like Content-Type, | ||
Content-Length, and Server. |
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.markdown | ||
%%MODDIR%%/ngx_http_headers_more_filter_module.so | ||
%%DEBUG%%%%MODDIR%%/ngx_http_headers_more_filter_module-debug.so |