headers-more-nginx-module icon indicating copy to clipboard operation
headers-more-nginx-module copied to clipboard

Set, add, and clear arbitrary output headers in NGINX http servers

Results 51 headers-more-nginx-module issues
Sort by recently updated
recently updated
newest added

I'm trying to build a dynamic module for use with the standard RHEL 8 1.14.1 nginx deploy. When I run ./configure with the values scraped directly from the nginx -V...

server { ... location / { ... more_set_input_headers 'myheader: test123'; .. } ... } html-code: img src="http://x.x.x.x:xxxx/test/1.jpg" it doesn't send request header to x.x.x.x?

Currently the documentation specifies: > Existing response headers with the same name are always overridden. If you want to add headers incrementally, use the standard add_header directive instead. But the...

`header_filter_by_lua_block` can not unset header if set by `more_set_headers` Example: ``` more_set_headers 'test: test'; header_filter_by_lua_block { -- some custom logic to unset previously set header from -- upstream or by...

I found a problem: if I use the following construction, then the header is missing in the answer: ``` location { include /etc/nginx/default.d/cors.conf; .. } ``` /etc/nginx/default.d/cors.conf: ``` more_set_headers 'Access-Control-Allow-Origin:...

I was using nginx 1.13.6 with headers_more_module to remove the "Server: nginx" header from all requests. Now, I have recompiled nginx with ngx_pagespeed module using the following command: `bash

In https://github.com/agentzh/headers-more-nginx-module/commit/1caf5cc413d0d0196eff2c550f2fcc6a710e180e an assert was added to catch headers_in linked list corruption. However, look at http://hg.nginx.org/nginx/file/4a71ef1aa36d/src/http/ngx_http_core_module.c#l2476 this means the assert will always trigger when operating on subrequests. It seems to...

Hi all – I had a quick question about what "clearing" means. Will it delete the header field from the overall HTTP response header, or just delete its value? The...

I'm trying to add it in centos6. I've already installed GCC. I'm working in **/home/rootuser/nginx-1.9.15/** directory and the command I'm using is as follow: `./configure --add-module=/src/http/modules/ngx_http_headers_filter_module.c` Then it goes like:...