릴리스 노트

작업 유형 | 설명 |
설정 | 지정된 요청 헤더 매개변수의 값을 설정 완료 후의 값으로 변경합니다. 설정된 헤더가 존재하지 않을 경우, 해당 헤더를 추가합니다. 원본 요청 헤더 매개변수가 이미 존재하는 경우, 설정한 요청 헤더가 기존 헤더를 덮어쓰기함으로써 유일한 헤더가 됩니다. |
추가 | 지정된 원본 요청 헤더의 매개변수를 추가합니다. 설정된 헤더가 이미 존재하는 경우, 추가한 요청 헤더가 기존 헤더에 덮어쓰기 됩니다. |
삭제 | 지정된 응답 헤더의 매개변수를 삭제합니다. |
헤더 매개변수 | 설명 |
X-Forward-For | 실제 클라이언트의 IP 헤더를 전달하는 데 사용됩니다. 기본값은 $client_ip 변수이고, 변경할 수 없습니다. |
X-Forward-Port | 실제 클라이언트의 포트 헤더를 전달하는 데 사용됩니다. 기본값은 $remote_port 변수이고, 변경할 수 없습니다. |
사용자 정의 헤더 | 사용자 정의 헤더 Key 길이의 기본값은 1 -로 구성됩니다. Value 길이는 1~1,000자이며, 중국어는 지원하지 않습니다. 일부 표준 헤더는 자동 설정/추가/삭제를 지원하지 않습니다. 상세 정보는 [주의사항] 문서(#noice)를 참조 바랍니다. |
cloud.tencent.com인 원본 요청 헤더의 설정은 다음과 같습니다:

http://cloud.tencent.com/test/test.mp4에 액세스한 경우* 규칙에 도달하는 경우, X-Forward-For:$client_ip 헤더를 추가해 원본 가져오기 실행 시 $client_ip를 실제 클라이언트 IP로 변경합니다..mp4 유형의 파일 및 /test 경로에 도달하는 경우는 모두 추가 유형의 헤더 작업이기 때문에 하단 규칙이 상단 규칙 보다 우선 적용되어 x-cdn:Tencent 헤더가 추가됩니다.www-authenticate | authorization | proxy-authenticate | proxy-authorization |
age | cache-control | clear-site-data | expires |
pragma | warning | accept-ch | accept-ch-lifetime |
early-data | content-dpr | dpr | device-memory |
save-data | viewport-width | width | last-modified |
etag | if-match | if-none-match | if-modified-since |
if-unmodified-since | vary | connection | keep-alive |
accept | accept-charset | expect | max-forwards |
access-control-allow-origin | access-control-max-age | access-control-allow-headers | access-control-allow-methods |
access-control-expose-headers | access-control-allow-credentials | access-control-request-headers | access-control-request-method |
origin | timing-allow-origin | dnt | tk |
content-disposition | content-length | content-type | content-encoding |
content-language | content-location | forwarded | x-forwarded-host |
x-forwarded-proto | via | from | host |
referer-policy | allow | server | accept-ranges |
range | if-range | content-range | cross-origin-embedder-policy |
cross-origin-opener-policy | cross-origin-resource-policy | content-security-policy | content-security-policy-report-only |
expect-ct | feature-policy | strict-transport-security | upgrade-insecure-requests |
x-content-type-options | x-download-options | x-frame-options(xfo) | x-permitted-cross-domain-policies |
x-powered-by | x-xss-protection | public-key-pins | public-key-pins-report-only |
sec-fetch-site | sec-fetch-mode | sec-fetch-user | sec-fetch-dest |
last-event-id | nel | ping-from | ping-to |
report-to | transfer-encoding | te | trailer |
sec-websocket-key | sec-websocket-extensions | sec-websocket-accept | sec-websocket-protocol |
sec-websocket-version | accept-push-policy | accept-signature | alt-svc |
date | large-allocation | link | push-policy |
retry-after | signature | signed-headers | server-timing |
service-worker-allowed | sourcemap | upgrade | x-dns-prefetch-control |
x-firefox-spdy | x-pingback | x-requested-with | x-robots-tag |
x-ua-compatible | max-age | | |
피드백