Welcome! Log In Create A New Profile

Advanced

Regex in proxy_hide_header

May 02, 2018 05:34AM
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?

Thanks a lot!
Subject Author Posted

Regex in proxy_hide_header

bmrf May 02, 2018 05:34AM

Re: Regex in proxy_hide_header

Oleg A. Mamontov May 02, 2018 06:32AM

Re: Regex in proxy_hide_header

bmrf May 02, 2018 09:14AM

Re: Regex in proxy_hide_header

Oleg A. Mamontov May 03, 2018 08:04AM

Re: Regex in proxy_hide_header

bmrf May 04, 2018 12:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready