On Wed, May 02, 2018 at 09:34:04AM +0000, bmrf wrote:
Hi list,

I was trying to unset/delete a header using proxy_hide_header. The problem
is that the header name is always unknown, but it has always the same
pattern, it starts with several whitespaces followed by random characters,
something like \s+\w+

If regex is not supported at proxy_hide_header, as it seems it is,  is there
any other way to accomplish this?

Probably it makes sense to take a look:
https://github.com/openresty/headers-more-nginx-module#more_clear_headers

"The wildcard character, *, can also be used at the end of the header
name to specify a pattern."


Thanks a lot!

--
Cheers,
Oleg A. Mamontov

mailto: o...@mamontov.net

skype:  lonerr11
cell:   +7 (903) 798-1352
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to