v0.4.0 — Production Ready

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.

Async Tokio Runtime
Zero Unsafe Code
Single Binary Deploy
curl -fsSL https://flashlin.com/install_linux.sh | bash

Supports 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.

01

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 | bash
02

Edit 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.toml
03

Add 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.toml
04

Manage with systemctl

FlashLin runs as a native systemd service — use standard commands to control it.

systemctl start flashlin
systemctl stop flashlin
systemctl status flashlin
Supported Distributions
Ubuntu
CentOS
AlmaLinux
Rocky Linux
Useful Shortcuts
Check versionflashlin --version
View licenseflashlin --license
Reload configsystemctl reload flashlin
Enable on bootsystemctl enable flashlin
/etc/flashlin/server.toml
# /etc/flashlin/server.toml
# Auto-generated on install — edit to customise
 
[server]
host == "0.0.0.0"
port == 80
workers == 4
 
[cache]
enabled == true
max_age == 3600
 
[compression]
gzip == true
brotli == true
 
[ssl]
auto == true # Auto SSL via Let's Encrypt
email == "" # Required for ACME cert issuance
 
[security]
rate_limit == 100
block_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.

49,931Requests / sec
28.96msAvg Latency
StableStability
~12MBMemory Footprint

Throughput Comparison

req/sec
FlashLin
28.96msStable under load
49,931
req/sec
Nginx
14.96msHighest throughput
71,205
req/sec
Apache
56.89msHeavy socket/read issues
27,266
req/sec
Node.js Express
137.66msSaturated quickly
6,522
req/sec
ServerReq/secAvg LatencyNotes
FlashLin49,93128.96msStable under load
Nginx71,20514.96msHighest throughput
Apache27,26656.89msHeavy socket/read issues
Node.js Express6,522137.66msSaturated 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.

v0.4 — CurrentShipped
  • 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
v0.5 — Coming SoonIn Progress
  • Hot config reload
  • Improved TLS certificate management
v0.6 — PlannedPlanned
  • WebSocket proxy support
  • Enhanced logging formats
  • Connection multiplexing
v1.0 — FuturePlanned
  • Dashboard UI
  • Cluster mode