add rewrite_response_headers to protobuf (#1962)

This commit is contained in:
Caleb Doxsey 2021-03-05 13:57:27 -07:00 committed by GitHub
parent 7f6107051f
commit 46ae3cf358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 708 additions and 563 deletions

View file

@ -14,6 +14,12 @@ message Config {
Settings settings = 3;
}
message RouteRewriteHeader {
string header = 1;
oneof matcher { string prefix = 3; }
string value = 2;
}
message RouteRedirect {
optional bool https_redirect = 1;
optional string scheme_redirect = 2;
@ -74,6 +80,7 @@ message Route {
map<string, string> set_request_headers = 22;
repeated string remove_request_headers = 23;
repeated RouteRewriteHeader rewrite_response_headers = 40;
bool preserve_host_header = 24;
bool pass_identity_headers = 25;