NGINX · JSON Structure

Plus Http Api Nginx Stream Upstream Conf Server Map Structure

An array of stream upstream servers for dynamic configuration.

Type: array Properties: 0
API GatewayCachingCloud NativeLoad BalancerOpen SourceReverse ProxyWeb Server

Stream Upstream Servers is a JSON Structure definition published by NGINX. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "Stream Upstream Servers",
  "description": "An array of stream upstream servers for dynamic configuration.\n",
  "type": "array",
  "values": {
    "$ref": "#/definitions/NginxStreamUpstreamConfServer"
  },
  "example": [
    {
      "id": 0,
      "server": "10.0.0.1:12348",
      "weight": 1,
      "max_conns": 0,
      "max_fails": 1,
      "fail_timeout": "10s",
      "slow_start": 0,
      "backup": false,
      "down": false
    },
    {
      "id": 1,
      "server": "10.0.0.1:12349",
      "weight": 1,
      "max_conns": 0,
      "max_fails": 1,
      "fail_timeout": "10s",
      "slow_start": 0,
      "backup": false,
      "down": false
    }
  ]
}