headers-more-nginx-module
headers-more-nginx-module copied to clipboard
Set, add, and clear arbitrary output headers in NGINX http servers
[src/ngx_http_headers_more_headers_in.c:275]: (error) Address of local auto-variable assigned to a function parameter. [src/ngx_http_headers_more_headers_out.c:240]: (error) Address of local auto-variable assigned to a function parameter.
Hello @agentzh, Is it possible to release a new version including the dynamic module support? I'd like to split the module into a separate nginx debian package. Thanks a lot...
春哥,用最新的这个模块编译进tengine 2.1.1时,报如下错误: /root/source/tengine/headers-more-nginx-module/src/ngx_http_headers_more_headers_in.c /root/source/tengine/headers-more-nginx-module/src/ngx_http_headers_more_headers_in.c:142:18: error: ‘ngx_http_process_header_line’ undeclared here (not in a function) ngx_http_process_header_line }, ^ /root/source/tengine/headers-more-nginx-module/src/ngx_http_headers_more_headers_in.c:142:18: error: missing initializer for field ‘handler’ of ‘ngx_http_headers_more_set_header_t’ [-Werror=missing-field-initializers] In file included from /root/source/tengine/headers-more-nginx-module/src/ngx_http_headers_more_headers_in.h:11:0,...
I tried more_set_headers "X-foo: foo"; it seems working for status 200 HTTP response. If the status is 301, the header X-foo is not added.
Hello, I am looking for solution to solve the following issues. # Issue Headers (Sever, X-Page-Speed, X-Upstream) are not removed in the first line but removed in the subsequent requests...
Hello! I hope being terse isn't seen as smug, so I'd just like to request the very useful set-misc module to be added to the DotDeb Nginx distribution. https://github.com/agentzh/set-misc-nginx-module Thanks
@agentzh I'm trying to solve a problem and this module is very close to intended workaround. Backend app sets number of cookies and I need to alter value of a...
I'm trying to clear Accept-Encoding header for html requests alone, but using -t 'text/html' option not clearing the header. Any fix for it ?
For example, if your proxy returns a `Set-Cookie` header, and you attempt to add a new `Set-Cookie` header to the response, all the previous `Set-Cookie` headers will be lost. This...
Hi, I have the scenario where I am receiving a response header in nginx and want to retrieve one value from the response header using lua in the http block....