The default container will forward everything to http://httpbin.org/ where you can inspect the headers and cookies.
docker pull compendium/proxy
docker run -it --rm -p 7777:7777 --name proxy compendium/proxy
Create Config file
vi config.yaml
File Contents
---
middleware:
- AuditMiddleware:
- RequestIDMiddleware:
- SessionMiddleware:
Cookie: theCookie
Storage: memory
Secret: theSecret
- AuthMiddleware:
required: true
type: test-token
token: "1234abcd"
header: "Auth-Token"
routes:
"/*proxyPath":
middleware:
- Proxy:
URL: "http://mybackend.service.somedomain.com"
Run App
docker run -it --rm -p 7777:7777 -v config.yaml:/app/config.yaml --name proxy compendium/proxy
More info here:
Content type
Image
Digest
Size
119.5 MB
Last updated
almost 5 years ago
docker pull compendium/proxy