Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 732 Bytes

File metadata and controls

39 lines (26 loc) · 732 Bytes

200-ok

A minimal HTTP server in Rust, using only the standard library.
Distributed as a lightweight Docker image under 500kB.
Listens on port 80 and replies to any HTTP request with 200 OK and the body OK\n.

Features

  • Extremely small and fast
  • No dependencies outside Rust standard library
  • Configurable thread pool and socket timeout via environment variables
  • Multi-architecture Docker images

Quick Start

Pull and run from Docker Hub:

docker run --rm -p 80:80 e7db/200-ok

Or from GitHub Container Registry:

docker run --rm -p 80:80 ghcr.io/e7db/200-ok

HTTP Response

HTTP/1.1 200 OK
Content-Length: 3

OK

License

This project is licensed under the MIT License.