Sign inSign up

vmj0/fixed-response

By vmj0

•Updated about 8 years ago

Tiny HTTP server that responds to all requests with the same response.

Image
0

965

vmj0/fixed-response repository overview

⁠HTTP server with fixed response

This is a tiny HTTP server that responds to all requests with the same response.

⁠Usage

Following example serves a "Not Found" page.

fixed-response -content 404.html -type text/html

Use -h option to list all options.

⁠Container Usage

FROM vmj0/fixed-response:0.9
COPY ./404.html ./
CMD ["/fixed-response", "-content", "/404.html", "-type", "text/html"]

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

about 8 years ago

docker pull vmj0/fixed-response