Builds & Feature-функция-функцияs
Fluxheim компилируется с feature sets. Выберите минимальную сборку, в которой есть нужное вашему deployment.
Типовые сборки
| Build | Используйте для |
|---|---|
| full | General production server with web, proxy, cache, TLS, ACME, PHP-FPM, metrics, and tracing. |
| proxy | Reverse proxy without local static hosting or cache. |
| cache | Cache edge in front of another origin. |
| load-balancer | Целевая upstream balancing и health checks. |
| php | Static web плюс PHP-FPM applications, например WordPress. |
Примеры profiles
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-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
Семейства features
| Семейство | Что добавляет |
|---|---|
web | Static file serving и local web routes. |
proxy | Reverse proxy routes and upstream handling. |
cache | Shared cache policy, memory and disk tiers, purge, and cache tooling. |
php-fpm | FastCGI bridge и optional managed PHP-FPM supervision. |
metrics | Prometheus metrics endpoint endpoint and optional OTLP metrics export. |
Что нельзя совмещать
- Выберите ровно один TLS backend.
- Privacy builds do not include cache, metrics, tracing, or OTLP export поток поток.
- Focused edge images намеренно исключают модули вне своей задачи.
- Запуск the feature validator before packaging custom feature strings.