Sign inSign up

2breakfast/nginx-log-request-body

By 2breakfast

•Updated almost 11 years ago

nginx-log-request-body is logging the request_body, which is useful when debugging distributed apps.

Image
2

2.3K

2breakfast/nginx-log-request-body repository overview

⁠nginx-log-request-body

nginx-log-request-body is logging the request_body , which is useful to me on debugging distributed apps deploying different servers. By making the apps post data to nginx-log-request-body server, I can debug sth.

⁠how to use it

  1. start nginx container and echo the log forcely
docker logs -f `docker run -p 80:80 -d 2breakfast/nginx-log-request-body:latest`
  1. post the test data to the nginx server
curl -X POST http://localhost:80/post -d 'test'

Tag summary

Content type

Image

Digest

Size

52.7 MB

Last updated

almost 11 years ago

docker pull 2breakfast/nginx-log-request-body