Fluxheim/文件/Builds & Features

Builds & Features

Fluxheim 是用功能集編譯的。選擇包含您的部署所需內容的最小建置。

常用 build

Build用它來
fullGeneral production server with web, proxy, cache, TLS, ACME, PHP-FPM, metrics, and tracing.
wasm以完整生產設定檔為基礎嘅專用 Wasm 組建,設有限定範圍嘅政策掛接點,並支援 ACME、指標同 OpenTelemetry.
proxyReverse proxy without local static hosting or cache.
cacheCache edge in front of another origin.
load-balancer專注於 upstream balancing 同 health check。
php靜態 Web 加上 PHP-FPM 應用程序,例如 WordPress。

設定檔範例

cargo build --release --no-default-features --features profile-full,acme-client,metrics,metrics-otlp,otel-tracing,otel-otlp
cargo build --release --no-default-features --features profile-wasm,acme-client,metrics,metrics-otlp,otel-tracing,otel-otlp
cargo build --release --no-default-features --features profile-cache-edge,acme-client
cargo build --release --no-default-features --features profile-proxy-edge,acme-client
cargo build --release --no-default-features --features profile-web-server,php-fpm,acme-client
cargo build --release --no-default-features --features profile-load-balancer-edge,acme-client

唔使用 Pingora 嘅正常 builds

由 1.6.34 開始,正常 Fluxheim release profiles 使用 Fluxheim-owned native runtime,唔再編譯 Pingora crates。

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

唔受支援嘅 native runtime shapes 仍然會用 explicit blockers fail closed,而唔會 fallback 去 legacy adapters。

功能 families

家庭它添加了什麼
web靜態檔案服務和本機 Web 路由。
proxyReverse proxy routes and upstream handling.
cacheShared cache policy, memory and disk tiers, purge, and cache tooling.
php-fpmFastCGI 橋和可選的託管 PHP-FPM 監督。
metricsPrometheus metrics and optional OTLP metrics export.
wasm可選的 WebAssembly 策略執行環境,具有受限的訪問、標頭、路由與快取 hooks;預設為禁用狀態

不能並存的事物

  • 只選一個 TLS backend。
  • Privacy build 唔包括 cache、metrics、tracing、OTLP export 或 Wasm 功能。
  • 聚焦邊緣影像有意省略其工作以外的模組。
  • Run the feature validator before packaging custom feature strings.

FIPS 後端驗證證據

Fluxheim 為 OpenSSL-FIPS 同 rustls/AWS-LC-FIPS 設定分別提供依賴版本固定嘅 CI 驗證環境。環境會構建同執行對應設定嘅二進制檔案,測試下游 TLS 同經證書驗證嘅上游 TLS,拒絕唔兼容嘅政策,並記錄編譯器、加密提供者、依賴項、二進制檔案同映像識別資料。

呢啲係可重複嘅後端驗證證據,唔代表成個產品已經取得 FIPS 認證。驗證容器要同一般發佈映像分開,亦要確認證據同實際部署嘅構建完全一致。

睇吓 FIPS 證據指南
粵語