Component
core/gateway/nginx
An NGINX reverse-proxy gateway. NGINX terminates client HTTP traffic and forwards it to an upstream service wired through its `upstream` uses-socket: the upstream host and port arrive on the injection context and are rendered into the NGINX server configuration as the proxy_pass target, so the gateway routes to whichever component the topology binds. NGINX holds no persistent state, so it renders as a stateless server with no volume. Provider-agnostic: the same component is implemented by a synthesized Helm Recipe on the official NGINX image (Kubernetes) and a Compose Recipe (local development). Exports its host and listen port to consumers via the uses topology. The optional guard socket takes the core/security/nemo-guardrails a core/prompt-injection-shield attachment sends every forwarded request through in place of the upstream; wired alone it changes no request.
出處
- 內容摘要
- sha256:08b1ca48d3c2871ade1295b70cfb4f5b0e827172c4f0fc9c92ae8d78c02dee64
- 發布時間
- 2026-11-10T10:12:19Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:90a272f811730b256b1146c24e68d287134d443bcc2116b86a2b719f6ef9aca7
此版本的參照
oci://hub.aggrega.ai/component/core/gateway/nginx:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| upstream_path | string | / | 否 | Location path prefix the gateway proxies to the upstream. Requests matching this prefix are forwarded to the upstream wired on the `upstream` socket. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 8080 | 否 | HTTP port NGINX listens on. Most operators should omit this and let the Recipe assign the default (8080). |
| engine_version | string | 1.27.5-alpine | 否 | NGINX container image tag for the official upstream nginx image. Both targets — the synthesized Helm Deployment (Kubernetes) and the Compose service (local) — run `nginx:<engine_version>`. |
| compute | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the proxy. A consumer sends its client traffic here and the gateway forwards it to whichever component the topology bound to its upstream socket. |
| port | integer | — | 是 | TCP port that Service accepts client traffic on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| protocol | string | — | 否 | How the published address is spoken to — `http`, so a consumer composes an address on that scheme. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
upstream
- 選擇器
- component.aggrega.ai/type=server
- 注入
- env
此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。
guard
- 選擇器
- dataplane.aggrega.ai/prompt-guard=classifier
- 注入
- —
此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「upstream」
component.aggrega.ai/type=server
未宣告任何附加槽位。
core/ai-agent/agenta-api v1.0.0 core/ai-agent/agenta-runner v1.0.0 core/ai-agent/agenta-services v1.0.0 core/ai-agent/agenta-web v1.0.0 core/ai-agent/agenta-web-mobile v1.0.0 core/ai-agent/dify v1.0.0 core/ai-agent/dify v1.1.0 core/ai-agent/dify-sandbox v1.0.0 core/ai-agent/dify-ssrf-proxy v1.0.0 core/ai-agent/dify-web v1.0.0 core/ai-agent/dify-web v1.1.0 core/ai-agent/flowise v1.0.0 core/ai-agent/flowise v1.1.0 core/ai-agent/google-adk v1.0.0 core/ai-agent/google-adk v1.1.0 core/ai-agent/langflow v1.0.0 core/ai-agent/langflow v1.1.0 core/ai-agent/librechat v1.0.0 core/ai-agent/librechat v1.1.0 core/ai-agent/librechat v1.2.0 core/ai-agent/mastra v1.0.0 core/ai-agent/n8n v1.0.0 core/ai-agent/n8n v1.1.0 core/ai-agent/open-webui v1.0.0 core/ai-model/docker-model-runner v1.0.0 core/ai-model/litellm v1.0.0 core/ai-model/nemoguard-content-safety v1.0.0 core/ai-model/nvidia-nim v1.0.0 core/ai-model/nvidia-nim-operator v1.0.0 core/ai-model/ollama v1.0.0 core/ai-model/tei v1.0.0 core/ai-model/tgi v1.0.0 core/ai-model/vllm v1.0.0 core/ai-pipeline/argo-workflows v1.0.0 core/ai-pipeline/temporal v1.0.0 core/ai-tool/browser v1.0.0 core/ai-tool/computer-use v1.0.0 core/ai-tool/mcp v1.0.0 core/ai-tool/mcp v1.1.0 core/compute/keda v1.0.0 core/compute/knative-serving v1.0.0 core/compute/server v1.0.0 core/compute/server v1.1.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/redis v1.0.0 core/datastore/valkey v1.0.0 core/devtool/adminer v1.0.0 core/gateway/agentgateway v1.0.0 core/gateway/apisix v1.0.0 core/gateway/contour v1.0.0 core/gateway/envoy-ai-gateway-operator v1.0.0 core/gateway/envoy-gateway v1.0.0 core/gateway/higress v1.0.0 core/gateway/kong v1.0.0 core/gateway/kong-enterprise v1.0.0 core/gateway/litellm v1.0.0 core/gateway/traefik-hub v1.0.0 core/gateway/tyk v1.0.0 core/messaging/livekit-server v1.0.0 core/messaging/livekit-sip v1.0.0 core/messaging/nats v1.0.0 core/observability/fluent-bit v1.0.0 core/observability/grafana v1.0.0 core/observability/langfuse v1.0.0 core/observability/otel-collector v1.0.0 core/observability/thanos-query v1.0.0 core/observability/thanos-store v1.0.0 core/security/cert-manager v1.0.0 core/security/external-secrets v1.0.0 core/security/fms-guardrails-orchestrator v1.0.0 core/security/keycloak v1.0.0 core/security/kong-ai-pii-service v1.0.0 core/security/nemo-guardrails v1.0.0 core/security/nemoguard-jailbreak-detect v1.0.0 core/security/presidio-analyzer v1.0.0 core/security/presidio-anonymizer v1.0.0 core/security/sealed-secrets v1.0.0 core/security/supertokens v1.0.0 core/security/trustyai-guardrails-gateway v1.0.0 core/security/trustyai-huggingface-detector v1.0.0 core/storage/barman-cloud-plugin v1.0.0 core/storage/k8up v1.0.0 core/storage/kasten v1.0.0 core/storage/kubestash v1.0.0 core/storage/velero v1.0.0 example/compute/db-reader v1.0.0 example/compute/gcp-credentialed-service v1.0.0 example/compute/greeter v1.0.0 example/compute/service v1.0.0 example/gateway/nginx-reviewed v1.0.0 - 使用使用插槽「guard」
dataplane.aggrega.ai/prompt-guard=classifier
未宣告任何附加槽位。
被使用於
使用插槽「forward_target」
使用插槽「scrape_target」
使用插槽「store」
適用於
適用於
適用於
適用於
適用於
適用於
適用於
適用於
適用於
適用於
實作
實作
實作