S

Static Web Server

A blazing-fast, configurable web server for static files, built in Rust with optional directory listing and security features.

About Static Web Server

Static Web Server does exactly what its name says. It serves static files over HTTP or HTTPS with minimal overhead. The server is compiled from Rust, which means it uses very little memory and handles concurrent connections efficiently. You can run it on Linux, Windows, macOS, or even inside a container with a binary under 10 MB.

Configuration is done through CLI arguments, environment variables, or a TOML file. You can set custom caching headers, enable directory listing, redirect traffic, and apply CORS policies. It supports HTTP/2, TLS termination, and compression. The server can also serve on multiple ports and bind to specific IPs. There is no scripting or plugin system, which keeps the attack surface small.

This tool is best for developers and sysadmins who need a fast, no-dependency static file server for production or local development. It is open source under MIT license and maintained by the community. The project was originally created by José Luis and is now a community project on GitHub with over 1,000 stars.
Server Software

Quick Facts

Pricing
Free
License
Open Source
Platform
Any Platform
Version
2.22.0
Developer
Static Web Server project