This plugin is inspired by r3nic1e/traefik-plugin-add-response-header, the main goal of this plugin is to make it more performant and avoid storing HTTP responses in the buffer.
Add plugin:
experimental:
plugins:
header-echo:
moduleName: "github.com/highpingblorg/traefik-plugin-header-echo"
version: "v0.1.0"Configure middleware:
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: header-echo
spec:
plugin:
header-echo:
headerName: "X-Trace-ID"