v1.8.0 — 最新穩定發布

記憶體安全
邊緣伺服器
用 Rust 建構

Modular 反向代理, 快取, 負載平衡器, and static host written in Rust. 預設安全 with TLS, ACME, compression, edge policy, dynamic 上游 discovery, and 安全 流量 mirroring built in.

Rust 通量海姆核心 EUPL-1.2 x86_64 Linux ARM64 Linux macOS 開發者 無根容器
/etc/fluxheim/fluxheim.toml
include_conf_d = false

[server]
listen = ["0.0.0.0:80"]
tls_listen = ["0.0.0.0:443"]
default_vhost = "fluxheim.eu"

[tls]
enabled = true
backend = "rustls"
profile = "intermediate"
min_protocol = "tls1.2"
alpn = "http1-and-http2"
curve_preferences = ["X25519", "CurveP256", "CurveP384"]

[[vhosts]]
name = "fluxheim.eu"
hosts = ["fluxheim.eu"]

[vhosts.tls]
enabled = true

[vhosts.tls.certificate]
cert_path = "/etc/fluxheim/tls/fluxheim.eu/fullchain.pem"
key_path = "/etc/fluxheim/tls/fluxheim.eu/privkey.pem"

[vhosts.web]
root = "/srv/sites/fluxheim.eu"
index_files = ["index.html"]

喺 edge 需要嘅全部功能

Fluxheim ships as focused, 模組化 builds — use only what your deployment needs.

設計上記憶體安全

用 Rust 編寫 with a pinned stable toolchain. No buffer overflows, no use-after-free, no data races by construction.

Fluxheim HTTP 核心

A Rust-native edge runtime with connection pooling, 上游 retries, active 健康檢查, HTTP/2, WebSocket upgrades, and gRPC pass-through.

WASM 擴充

以完整生產設定檔為基礎嘅專用 Wasm 組建,設有限定範圍嘅政策掛接點,並支援 ACME、指標同 OpenTelemetry.

負載平衡控制平面

專注於 1.5 負載平衡器二進位檔案和映像,具有進階選擇、本地持久性、運行狀況/彈出策略、有界佇列和運行時成員控制。

模組化 build profile

只編譯你需要嘅嘢。靜態網站、快取邊緣、反向代理、負載平衡、 TCP 流代理、 PHP-FPM 、 GeoIP 、流量鏡像同埋支援壓縮嘅生產捆綁嘅集中設定檔。

TLS 同受管理 ACME

rustls-first with supported OpenSSL and FIPS/ISO proof build paths, client certificate auth, 上游 mTLS, automatic ACME issuance, and multi-cert SNI.

進階快取系統

Memory, disk, tiered, and encrypted 快取 後端s with 快取-安全 gzip, Zstandard, and Brotli compression plus range caching for large objects.

容器原生

適用於 Wolfi、Alpine、SUSE Micro 和 Debian 的無根 Podman 映像。用於本機部署的 Systemd/RPM。啟動時外部資產為零。

Prometheus 同 OpenTelemetry

Opt-in Prometheus 指標 listener, OTLP 指標 export, trace context propagation, and OTLP trace export for full 可觀測性.

GeoIP / 地理環境

可選嘅本機 MMDB 查詢,用於國家同 ASN 政策,支援 MaxMind GeoIP2/GeoLite2 或 CIRCL Geo Open 資料集。請求路徑入面唔會做遠端查詢,亦唔會有下載器。

TCP 串流代理

Raw L4 TCP services with dedicated stream routes, true idle/lifetime/byte caps, 上游 TLS/mTLS controls, weighted/drain/backup policy, and route-local PROXY protocol.

PHP-FPM 支援

Opt-in PHP-FPM FastCGI bridge for WordPress-style front-controller applications. Strict script resolution and bounded 請求 handling.

Edge 政策控制

Trusted-proxy-aware ACLs, rate limits, auth sub請求, 流量 mirroring, regex rewrites, bounded queues, strict config validation, and hardened 請求 handling.

幾分鐘內開始運行

Download a pre-built binary, drop in a config file, and start serving. Native systemd units and container images included.

bash
# 下載並解壓完整 build
curl -L https://github.com/valkyoth/fluxheim/releases/download/v1.8.0/fluxheim-1.8.0-full-x86_64-linux.tar.gz \
  | tar xz

# 將二進位檔案移到系統路徑
sudo mv fluxheim /usr/local/bin/

# 開始之前驗證您的配置
fluxheim --check-config --config /etc/fluxheim/fluxheim.toml

# 執行 with systemd (included unit file)
sudo systemctl enable --now fluxheim
bash
# 從 GHCR 或碼頭出發
podman pull ghcr.io/valkyoth/fluxheim:v1.8.0
podman pull quay.io/valkyoth/fluxheim:v1.8.0

# 執行 rootless with your config mounted
podman run -d \
  --name fluxheim \
  -p 8080:8080 -p 8443:8443 \
  -v /srv/sites:/srv/sites:ro \
  -v ./fluxheim.toml:/etc/fluxheim/fluxheim.toml:ro \
  ghcr.io/valkyoth/fluxheim:v1.8.0

# 可用映像版本:full、load-balancer、快取、proxy、wasm、php
bash
# 克隆並建立預設配置文件
git clone https://github.com/valkyoth/fluxheim
cd fluxheim

# Default build (proxy + web + 快取 + tls-rustls + 安全)
cargo build --release

# 或建立一個有針對性的個人資料
cargo build --release --no-default-features \
  --features profile-proxy-edge,acme-client

# 驗證 config and run
cargo run --release -- \
  --check-config --config examples/fluxheim.toml

點解用 Fluxheim?

專為想要現代化、可審計堆疊且沒有隱藏遺留行為的操作員而建構。

沒有隱藏的遺留協定回退

設定 validation is strict. Ambiguous or insecure options are rejected, not silently accepted.

已托運的 Cargo.lock

可重複的構建。每個依賴項都被固定。 cargo audit and cargo deny run in CI.

優先 rootless 嘅容器

執行 without root. Internal ports 8080/8443 by default. Explicit runtime images for different operational policies.

EUPL-1.2 開源

Copyleft 許可證與許多 OSS 許可證相容。源自歐盟,法律明確可供政府和企業使用。

總覽

Fluxheim 在生產部署中的外觀概覽。

Fluxheim 架構概述
粵語