Implement host_rewrite_path option (#12440)
This implements a host_rewrite_path option for rewriting the Host header based on path. See rational in the linked issue. Note: the regex is executed on the path with query/fragment stripped. This is analogues to what regex_rewrite option is doing. Risk Level: Low Testing: added unit tests Docs Changes: document the new option in proto file Release Notes: added to current.rst Fixes #12430 Signed-off-by: Petr Pchelko <ppchelko@wikimedia.org> Mirrored from https://github.com/envoyproxy/envoy @ 374dca7905fc048be74169a7655d0462606555admaster-ci-test
parent
6ee160427d
commit
22601a9e96
2 changed files with 36 additions and 2 deletions
Loading…
Reference in new issue