Static Web Server
High-performance static file web server with TLS and HTTP/2
2.3k stars 131 forks last commit first released Apache-2.0
Actively maintained
Last commit 20 Aug 2026.
Static Web Server (SWS) is a small, production-ready web server designed for fast and efficient static file and asset hosting. Built in Rust on asynchronous networking foundations, it targets low resource usage while supporting modern HTTP features across many platforms.
Key Features
- High-performance asynchronous static file serving
- HTTP/1.1 and HTTP/2 support
- TLS support with optional HTTP to HTTPS redirect
- Optional on-demand and pre-compressed file serving (gzip, brotli, zstd, deflate)
- Byte-range requests (partial content) for large files
- SPA-friendly 404 fallback pages and custom error pages
- Directory listing (with sorting) and optional JSON output
- Configurable headers (including Cache-Control and security headers) and CORS support
- Basic HTTP authentication, URL rewrites/redirects, and virtual hosting
- Configuration via CLI, environment variables, or a TOML config file
Use Cases
- Hosting static websites, documentation, and front-end assets
- Serving single-page applications behind a lightweight web server
- Running a minimal file server in containers or on resource-constrained hosts
Limitations and Considerations
- Focused on static content; it is not intended to be a full dynamic application server
SWS is a strong fit when you need a simple, secure, and fast static server with modern protocol support and flexible runtime configuration. Its small footprint and broad platform support make it suitable for everything from local development to production deployments.
Categories:
Tags:
Tech Stack:
Similar to Static Web Server

Zoraxy
HTTP reverse proxy and gateway with web UI and real-time analytics
A general-purpose HTTP reverse proxy and forwarding tool for homelabs, offering web UI, ACME/TLS, stream proxy, plugins and realtime monitoring.
Ferron
Fast, memory-safe web server with automatic TLS and modern protocol support
A Rust-written, memory-safe web server offering automatic Let's Encrypt TLS, KDL configuration, HTTP/2/HTTP/3, reverse proxying, and built-in tooling for serving web apps.

NGINX
High-performance web server, reverse proxy, and load balancer
NGINX is a high-performance HTTP server and reverse proxy with caching, load balancing, TLS termination, and TCP/UDP proxying via a modular architecture.
Lighttpd
Lightweight event-driven HTTP server optimized for high performance
Open-source, low-memory web server written in C that provides FastCGI/SCGI/CGI, TLS support, HTTP/1.1 and HTTP/2, modular architecture and high concurrency.

sish
SSH-based reverse tunneling for HTTP(S), WebSockets, and TCP
sish is an open-source Serveo/ngrok alternative that exposes local HTTP(S), WebSockets, and TCP services to the internet using SSH reverse tunnels.
Self-Hosted Gateway
Docker-native reverse proxy over WireGuard to expose local services
Automates Reverse Proxy-over-VPN (RPoVPN) using WireGuard, Caddy and NGINX to expose Docker Compose services to the public Internet with automated TLS.


