gRPC Web Configuration
Configuration reference for the gRPC Web plugin (`grpc-web`): the parameters, each attribute with its type, whether it is required, its default and its accepted values.
Parameters
See plugin common configurations (opens in Apache APISIX docs) for configuration options available to all plugins.
cors_allow_headers — string · optional · default: content-type,x-grpc-web,x-user-agent · since APISIX 3.9.0 · API7 Gateway 3.4.0
Comma-separated list of request headers allowed for cross-origin requests.
max_req_body_size — integer · optional · default: 67108864 · since APISIX 3.18.0 · API7 Gateway 3.9.17
Valid values: greater than or equal to 1
Maximum request body size in bytes read for gRPC-Web processing. A larger body is rejected with 400 Bad Request. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and APISIX 3.18.0.