Middlewares
The k8s-ces-gateway uses multiple Traefik middlewares to add functionality. The middlewares are configured in
k8s/helm/templates and added through the values.yaml file or the middleware-chain.yaml file.
Middleware List
- Accept-Enconding
- sets the Accept-Encoding header to
identityto avoid gzip compression and add custom content to the response
- sets the Accept-Encoding header to
- RewriteBody
- Writes custom scripts and css (warp menu and whitelabeling) to the response body
- custom middleware
- Compress
- compresses the response body using gzip after custom content was added
- ErrorPages
- use the error pages from k8s-ces-assets
Last updated on 2/2/2026