The gRPC with rewrite policy use case explains how NetScaler appliance works in rewriting some information in the gRPC requests or responses. The following diagram shows the components interact.
The following diagram shows how components interact with each other in a gRPC with rewrite policy configuration. gRPC with rewrite policy
-
Enable rewrite feature on the appliance.
-
Configure rewrite action to modify, add, or delete gRPC headers.
-
Configure rewrite policy for determining the gRPC requests (traffic) on which an action has to be taken.
-
Bind the rewrite policy to the load balancing virtual server to examine if the traffic matches the policy expression.
-
By using a rewrite policy, you can perform the following based on gRPC status code.
-
Modify responses from gRPC web server.
-
Modify, add, or delete gRPC headers.
-
Modify the URL of the request to the gRRC server.