Builds & Функцияs
Fluxheim се компилира с feature set-ове. Избери най-малкия build, който съдържа нужното за deployment.
Обичайни build-и
| 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 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-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
Функция семейства
| Семейство | Какво добавя |
|---|---|
web | Static file serving и локални web route-ове. |
proxy | Reverse proxy routes and upstream handling. |
cache | Shared cache policy, memory and disk tiers, purge, and cache tooling. |
php-fpm | FastCGI bridge и опционално managed PHP-FPM supervision. |
metrics | Prometheus метрики and optional OTLP metrics export. |
Неща, които не могат да са заедно
- Избери точно един TLS backend.
- Privacy builds do not include cache, metrics, tracing, or OTLP export на данни на данни.
- Фокусираните edge image-и умишлено пропускат модули извън задачата си.
- Стартирай the feature validator before packaging custom feature strings.