このページは機械翻訳されています。英語の原文を読む。

Recipe

nginx

NGINX reverse-proxy gateway for local development via Docker Compose. Synthesized-mode Workload — the compose provider translates the Workload into a service entry. 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. 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. provides.host is the bare service name, resolved on the compose network. Each core/traffic-shadowing attachment on the component adds a mirror to that location, sending a copy of every forwarded request, with its original URI, to the service the attachment's infra names, whose response NGINX discards. NGINX cannot copy a share of the requests, 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. With no such attachment the configuration carries no mirror. 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.

バージョン

1.0.01.0.1

来歴

公式このカタログが公式の公開者として認めている署名 ID によって署名されています。
コンテンツダイジェスト
sha256:ce4db597a882cd5bddf07e7ef3b4be221dfbedeaf5f4ae26a8b32afe72784b25
公開日
2026-11-10T10:19:58Z
署名 ID
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:9021371e888bf09f71b0478b71fce790f7ac8ca2157f0ef0a4e8246c022fc1d7

このバージョンの参照

oci://hub.aggrega.ai/recipe/compose/nginx:1.0.0
ターゲット
—
実装対象
core/gateway/nginx:1.0.0

提供

このレシピが利用側のために配線する決定論的なポインターテンプレートです。

名前テンプレート
host{{ .context.instance_id }}
port{{ .infra.port }}
protocolhttp

Workload

Workload · containers: main

ローカル変数

名前テンプレート
upstream_host_variableNGINX_UPSTREAM_HOST
upstream_port_variableNGINX_UPSTREAM_PORT

値のマッピング

値のマッピングは宣言されていません。

関係

他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。

使用先

  • 実装実装コントラクト互換

    core/gateway/nginx:1.0.0

    必須の出力はすべて満たされており、提供されるすべての出力がコントラクトに記載されています。

使用元

カタログ内にこのエンティティに依存しているものはありません。

Recipe の概念リファレンス →

Aggrega カタログ — コンポーネント、機能、レシピ、およびそれらをレンダリングするプラグインのオープンなインデックスです。

共有の Aggrega デザインシステムで構築されています。

プライバシー