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.
- Extremely small and fast
- No dependencies outside Rust standard library
- Configurable thread pool and socket timeout via environment variables
- Multi-architecture Docker images
Pull and run from Docker Hub:
docker run --rm -p 80:80 e7db/200-okOr from GitHub Container Registry:
docker run --rm -p 80:80 ghcr.io/e7db/200-okHTTP/1.1 200 OK
Content-Length: 3
OKThis project is licensed under the MIT License.