Цю сторінку перекладено машинно. Читати англійський оригінал.

Recipe

nginx

NGINX reverse-proxy gateway on Kubernetes via the helm provider's Workload synthesis, running the official upstream nginx image (no external Helm chart). NGINX holds no persistent state, so it renders a stateless Deployment plus a ClusterIP Service and declares no storage. The upstream host and port arrive on .context.inject.env under the two variables the locals name, which the `upstream` edge's inject block names, and are written into a minimal NGINX server configuration whose proxy_pass forwards matching requests to that upstream; the config is written at container start and nginx is then started in the foreground. With an edge wired on any socket but guard and either variable missing from the pipe, the build halts naming the edge and its socket; with neither on the pipe and no such edge, the location answers 503. A core/prompt-injection-shield attachment's realization (prompt-injection-shield-nginx) writes the two variables with the address of the guard wired to the guard socket. Each core/traffic-shadowing attachment adds a mirror to that location: an upstream group naming the Service the attachment's infra names, and an internal location sending a copy of every forwarded request there with its original URI, whose response NGINX discards. NGINX copies every request it forwards and cannot copy a share of them, so the FeatureRecipe realizing the attachment (traffic-shadowing-nginx) halts on a share below 100, and this Recipe halts on an attachment to a gateway that forwards nothing. Each core/concurrency-limit attachment adds a cap, one total across NGINX's worker processes, and a request past it is answered 503; concurrency-limit-nginx refuses scope model.

Походження

ОфіційнийПідписано ідентичністю підписувача, яку цей каталог визнає офіційним видавцем.
Дайджест вмісту
sha256:4da58394f29dd03b0279de9c8a55207c1db5df5424964c9ae5d8095f619dde67
Опубліковано
2026-11-10T10:25:54Z
Ідентичність підписувача
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:d6d1ff4799de7f2d54fa9c2f396ca1f72f48b49ca21ff8cdff946278f995e343

Посилання на цю версію

oci://hub.aggrega.ai/recipe/helm/nginx:1.0.0
Ціль
—
Реалізує
core/gateway/nginx:1.0.0

Надає

Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.

НазваШаблон
host{{ .context.rendered_name }}-default
port{{ .infra.port }}
protocolhttp

Workload

Workload · replicas: 1 · containers: main

Локальні значення

НазваШаблон
upstream_host_variableNGINX_UPSTREAM_HOST
upstream_port_variableNGINX_UPSTREAM_PORT

Відображення значень

Відображення значень не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

  • реалізуєреалізуєконтракт сумісний

    core/gateway/nginx:1.0.0

    Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.

Використовується в

Ніщо в каталозі не залежить від цієї сутності.

Довідка про поняття Recipe →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність