Traefik proxy plugin to copy request header to response.
I use this plugin to copy assigned trace ID to response headers.
Configuration
Add plugin:
experimental:
plugins:
add-response-header:
moduleName: github.com/r3nic1e/traefik-plugin-add-response-header
version: v0.2.0
Configure middleware:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: add-response-header
spec:
plugin:
add-response-header:
from: "X-B3-TraceId"
to: "X-B3-TraceId"