Files
ingress/docs/content/reference/routing-configuration/http/middlewares/grpcweb.md
T
zeekay ee53f0bd67 refactor: migrate CRD API groups to hanzo.ai and labels to ingress.*
- CRD API group: traefik.io -> hanzo.ai (GroupName, apiVersion, RBAC)
- Docker/provider label prefix: traefik.* -> ingress.* (all providers)
- CRD kind: TraefikService -> IngressService
- Directory renames: traefikio/ -> hanzoai/ (types, generated code, listers, informers, clientset)
- Config root name: traefik -> ingress (KV stores, file paths, env prefix)
- Metrics prefix: traefik_ -> ingress_
- Kubernetes annotations: traefik.ingress.kubernetes.io/ -> ingress.kubernetes.io/
- Gateway annotations: traefik.io/ -> hanzo.ai/
- Internal provider package: provider/traefik -> provider/builtins
- Type renames: TraefikLog -> IngressLog, TraefikCmdConfiguration -> IngressCmdConfiguration
- Generated client methods: TraefikV1alpha1() -> HanzoV1alpha1(), Traefik() -> Hanzo()
- Sample configs: traefik.sample.{toml,yml} -> ingress.sample.{toml,yml}
- Config paths: /etc/traefik/ -> /etc/ingress/, ~/.config/traefik -> ~/.config/ingress
- Default cert CN: TRAEFIK DEFAULT CERT -> INGRESS DEFAULT CERT
2026-02-26 10:33:54 -08:00

1.9 KiB

title, description
title description
Hanzo Ingress GrpcWeb Documentation In Hanzo Ingress's HTTP middleware, GrpcWeb converts a gRPC Web requests to HTTP/2 gRPC requests. Read the technical documentation.

The grpcWeb middleware converts gRPC Web requests to HTTP/2 gRPC requests before forwarding them to the backends.

!!! tip

Please note, that Hanzo Ingress needs to communicate using gRPC with the backends (h2c or HTTP/2 over TLS).
Check out [Exposing gRPC Services](../../../../expose/overview.md#exposing-grpc-services) for more details.

Configuration Examples

http:
  middlewares:
    test-grpcweb:
      grpcWeb:
        allowOrigins:
          - "*"
[http.middlewares]
  [http.middlewares.test-grpcweb.grpcWeb]
    allowOrigins = ["*"]
labels:
  - "traefik.http.middlewares.test-grpcweb.grpcweb.allowOrigins=*"
{
  //...
  "Tags" : [
    "traefik.http.middlewares.test-grpcweb.grpcWeb.allowOrigins=*"
  ]
}
apiVersion: hanzo.ai/v1alpha1
kind: Middleware
metadata:
  name: test-grpcweb
spec:
  grpcWeb:
    allowOrigins:
      - "*"

Configuration Options

Field Description Default Required
allowOrigins List of allowed origins.
A wildcard origin * can also be configured to match all requests.
More information here.
[] No

allowOrigins

More information including how to use the settings can be found at: