Re: Regex in proxy_hide_header

2018-05-04 Thread bmrf
Thanks Oleg! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279657,279683#msg-279683 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Regex in proxy_hide_header

2018-05-03 Thread Oleg A. Mamontov
On Wed, May 02, 2018 at 01:14:58PM +, bmrf wrote: Oleg A. Mamontov Wrote: --- On Wed, May 02, 2018 at 09:34:04AM +, bmrf wrote: >Hi list, > >I was trying to unset/delete a header using proxy_hide_header. The problem >is that the header

Re: Regex in proxy_hide_header

2018-05-02 Thread bmrf
Oleg A. Mamontov Wrote: --- > On Wed, May 02, 2018 at 09:34:04AM +, 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

Re: Regex in proxy_hide_header

2018-05-02 Thread Oleg A. Mamontov
On Wed, May 02, 2018 at 09:34:04AM +, 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 lik

Regex in proxy_hide_header

2018-05-02 Thread bmrf
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_head