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