헤더 기반 라우팅 정책 구성 참조
헤더 기반 라우팅 정책 구성 참조 (Route By Header Policy Configuration Reference)
이 문서는 Route By Header Policy의 구성 규칙을 참조할 수 있도록 도와줘요. JSON 스키마를 통해 rules 배열의 구조를 설명하며, 각 rule은 upstream_name과 condition 속성으로 이루어져 있어요. condition을 활용하면 요청 헤더에 따라 동적으로 라우팅 대상을 결정할 수 있어요.
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"upstream_name": {
"type": "string"
},
"condition": {
"type": "object",
"minLength": 1,
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"upstream_name"
]
},
"description": "Route by header rules.",
"default": []
}
}
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.