Sign inSign up

andyshinn/sinatra-echo

By andyshinn

Updated almost 11 years ago

Image
0

1.2K

andyshinn/sinatra-echo repository overview

andyshinn/sinatra-echo

This is a fork of synctree/sinatra-echo that is much slimmer and achieves the same goal!

The 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.

Usage

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 jwilder/nginx-proxy:

$ docker run -d -e VIRTUAL_HOST=echo.example.com andyshinn/sinatra-echo

Tag summary

Content type

Image

Digest

sha256:0444fc301

Size

9.7 MB

Last updated

almost 11 years ago

docker pull andyshinn/sinatra-echo