Sign inSign up

wregen/logging-proxy

By wregen

•Updated about 2 years ago

Dead simple, not efficient, HTTP reverse proxy that logs requests and response to and from upstream.

Image
Monitoring & observability
0

1.0K

wregen/logging-proxy repository overview

⁠Simple and dangerous logging proxy

❯ docker run --rm -ti --network host -e PORT=8889 -e WEBSERVER_URL=http://localhost:5678 wregen/logging-proxy
2024/07/17 07:08:39 Starting proxy server on port 8889...
2024/07/17 07:08:39 Proxying requests to http://localhost:5678
2024/07/17 07:08:45 Request Body: {"query":"test test"}
2024/07/17 07:08:45 Response Body: hello world
-------------------------------------------------------------------------------------------------------------
❯ curl http://localhost:8889 -X POST -d '{"query":"test test"}'
hello world

Tag summary

Content type

Image

Digest

sha256:137a1de19…

Size

2.2 MB

Last updated

about 2 years ago

docker pull wregen/logging-proxy