Hi, everyone.
Until maintainers decided with custom middlewares for Traefik, i made a repo https://github.com/negasus/traefik2-luascript
It allows to make Lua script and:
- get request data (uri, method, headers)
- add request headers
- add response headers
- stop the request and return your own response code and body
It's official support post for this middleware
Waiting for any advice. And, of course - your PRs
An issue for more information https://github.com/containous/traefik/issues/1336
PS: get request data in progress)