rtribotte / AddMissingHeaders

Reads headers from app service/client, adds missing headers, but not override existing headers, and forwards them to client/app service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Missing Headers

Reads headers from app service/client, adds missing headers, but not override existing headers, and forwards them to client/app service.

Traefik Plugin: https://plugins.traefik.io/plugins/62f3496be2bf06d4675b9445/add-missing-headers

GitHub: https://github.com/jerrywoo96/AddMissingHeaders

Configuration

Static (traefik.yml)

experimental:
  plugins:
    AddMissingHeaders:
      moduleName: github.com/jerrywoo96/AddMissingHeaders
      version: v1.0.0

Dynamic

http:
  middlewares:
    AddMissingHeaders:
      plugin:
        AddMissingHeaders:
          requestHeaders:
            X-Custom-RequestHeader: CustomRequestHeader
          responseHeaders:
            X-Custom-ResponseHeader: CustomResponseHeader

About

Reads headers from app service/client, adds missing headers, but not override existing headers, and forwards them to client/app service.

License:Apache License 2.0


Languages

Language:Go 100.0%