colinodell/static-response-server

By colinodell

Updated over 4 years ago

Super tiny HTTP server that always returns the same response

Image
0

10K+

colinodell/static-response-server repository overview

Super tiny HTTP server that always returns the same response.

Purpose

After decommissioning a service, you may want to keep something online and responding to HTTP requests letting users know the service no longer exists. This is especially useful if legacy code is still hitting an API endpoint and completely taking that offline might break consumers.

Instead of spinning up a full blown HTTP server like nginx to handle this, you can instead use this super tiny, statically-compiled Golang-based Docker image which uses as few resources as possible.

Usage

See https://github.com/colinodell/static-response-server for full usage information.

Tag summary

Content type

Image

Digest

Size

2.2 MB

Last updated

over 4 years ago

docker pull colinodell/static-response-server