리다이렉트 정책 구성 참조
리다이렉트 정책 구성 참조 (Redirect Policy Configuration Reference)
이 문서는 리다이렉트 정책에서 설정할 수 있는 옵션들을 JSON 스키마 형태로 보여주는 참조 자료예요. status_code 필드로 100부터 599 사이의 응답 코드를 지정하고, location 필드에 이동할 URL을 반드시 입력해야 해요. keep_incoming_path 옵션을 켜면 원래 요청의 경로와 쿼리 문자열을 리다이렉트 URL에 그대로 유지할 수 있어요. 각 필드의 타입이나 기본값이 궁금할 때 이 문서를 참고하면 좋아요
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"status_code": {
"type": "integer",
"maximum": 599,
"minimum": 100,
"description": "The response code to send. Must be an integer between 100 and 599.",
"default": 301
},
"location": {
"type": "string",
"description": "The URL to redirect to"
},
"keep_incoming_path": {
"type": "boolean",
"description": "Use the incoming request's path and query string in the redirect URL",
"default": false
}
},
"required": [
"location"
]
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.