Static Web Server
High-performance static file web server with TLS and HTTP/2
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 Services

Caddy
Extensible web server and reverse proxy with automatic HTTPS
Caddy is a fast, extensible Go web server and reverse proxy with automatic HTTPS (ACME), HTTP/1.1, HTTP/2, and HTTP/3 support, and a JSON config API.

Traefik Proxy
Cloud-native reverse proxy, load balancer, and ingress controller
Traefik Proxy is a dynamic reverse proxy and load balancer that auto-discovers services from Docker, Kubernetes, and other providers, with HTTPS, routing, and observabili...

Kong Gateway
Cloud-native API and LLM gateway with extensible plugins
Kong Gateway is a high-performance, cloud-native API gateway for routing, securing, and observing API traffic, with an extensible plugin system and Kubernetes support.

Nginx Proxy Manager
Web UI to manage Nginx reverse proxy hosts and SSL certificates
Nginx Proxy Manager is a web-based admin panel for managing Nginx reverse proxy hosts, redirects, streams, and Let’s Encrypt SSL certificates via Docker.

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.

Pangolin
Identity-aware VPN and reverse proxy for secure remote access
Open-source identity-based remote access platform combining WireGuard VPN and tunneled reverse proxy access with granular zero-trust controls.
Docker
Rust
TOML