mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
add rewrite_response_headers to protobuf (#1962)
This commit is contained in:
parent
7f6107051f
commit
46ae3cf358
3 changed files with 708 additions and 563 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue