This is a fork of
synctree/sinatra-echo that is much slimmer and achieves the same goal!
andyshinn/sinatra-echo image provides a simple HTTP app that echoes back
the headers and parameters sent with a request along with standard CGI variables.
It is useful for debugging the HTTP payload seen by an application running behind
one or more layers of proxying.
To run the HTTP echo service exposed directly on port 80:
$ docker run -d -p 80:4567 andyshinn/sinatra-echo
To run the HTTP echo service behind
$ docker run -d -e VIRTUAL_HOST=echo.example.com andyshinn/sinatra-echo