The Blazing Fast
Rust Web Server
FlashLin combines the power of Nginx, the flexibility of Apache, and the simplicity of Caddy — all in a single Rust binary with zero-unsafe memory safety.
curl -fsSL https://flashlin.com/install_linux.sh | bashSupports Ubuntu · CentOS · AlmaLinux · Rocky Linux
Everything You Need
Packed with Features
Production-grade capabilities out of the box. No plugins, no modules — just one binary.
Async HTTP/1.1
Built on Tokio + Hyper for maximum concurrency with non-blocking I/O.
Gzip + Brotli
Automatic response compression to slash bandwidth and boost load times.
Security Headers
Secure-by-default with rate limiting, IP allow/deny, and dotfile blocking.
TLS / HTTPS
rustls-powered TLS foundation. Auto TLS via ACME landing in v1.0.
PHP-FPM / FastCGI
Full FastCGI protocol support for PHP workloads with OpenLiteSpeed-like speed.
Reverse Proxy
Nginx-like proxying to upstream services with connection pooling.
TOML Configuration
Caddy-like simplicity — one readable TOML file. No cryptic nginx blocks.
Virtual Hosts
Per-domain .toml configuration for multi-site hosting on a single server.
Prometheus Metrics
Built-in /metrics endpoint. Drop straight into Grafana dashboards.
ETag / 304 Caching
Client-side caching with ETag and Last-Modified for zero repeat downloads.
Memory Safe Rust
Zero unsafe code. No segfaults. No buffer overflows. Ever.
Single Binary
Download, chmod, run. No dependencies. No runtime. No containers required.
Get Up & Running
Install in Seconds
One script. All major Linux distributions. Config auto-created. Ready to serve.
Download & Install
One-liner for all supported Linux distros. The installer sets up the binary, creates the systemd service, and writes the default config automatically.
curl -fsSL https://flashlin.com/install_linux.sh | bashEdit Config (if needed)
A default config is already created at /etc/flashlin/server.toml during install. Just update the values you need — no init command required.
nano /etc/flashlin/server.tomlAdd a Virtual Host Domain
Drop a custom .toml file into the domains folder for each vhost. FlashLin auto-discovers domain configs on startup.
nano /etc/flashlin/domains/example.com.tomlManage with systemctl
FlashLin runs as a native systemd service — use standard commands to control it.
systemctl start flashlinsystemctl stop flashlinsystemctl status flashlinflashlin --versionflashlin --licensesystemctl reload flashlinsystemctl enable flashlin# /etc/flashlin/server.toml# Auto-generated on install — edit to customise[server]host == "0.0.0.0"port == 80workers == 4[cache]enabled == truemax_age == 3600[compression]gzip == truebrotli == true[ssl]auto == true # Auto SSL via Let's Encryptemail == "" # Required for ACME cert issuance[security]rate_limit == 100block_dotfiles == true
This file is auto-created during install. Edit only the fields you need to change.
Benchmark Results
Built for Raw Speed
FlashLin delivers stable high-performance throughput with low latency and efficient memory usage.
Throughput Comparison
req/sec| Server | Req/sec | Avg Latency | Notes |
|---|---|---|---|
| FlashLin | 49,931 | 28.96ms | Stable under load |
| Nginx | 71,205 | 14.96ms | Highest throughput |
| Apache | 27,266 | 56.89ms | Heavy socket/read issues |
| Node.js Express | 6,522 | 137.66ms | Saturated quickly |
* Benchmark performed using wrk with 1000 concurrent connections on equivalent hardware under static workload conditions.
What's Next
Roadmap
FlashLin is actively developed. Here's where we're headed.
- Async HTTP/1.1 (Tokio + Hyper)
- Static file serving
- TOML configuration
- Gzip + Brotli compression
- PHP-FPM / FastCGI
- Reverse proxy
- TLS / HTTPS (rustls)
- Prometheus metrics
- Virtual hosts
- Rate limiting & IP allow/deny
- HTTP/2 support
- Hot config reload
- Improved TLS certificate management
- WebSocket proxy support
- Enhanced logging formats
- Connection multiplexing
- Dashboard UI
- Cluster mode