次のリクエストヘッダー変換ルールは、静的な値(Cloudflare)の X-Source ヘッダーを HTTP リクエストへ追加します。
Expression Editor に入力するテキスト:
starts_with(http.request.uri.path, "/en/")Modify request header で選ぶ操作: Set static
Header name: X-Source
Value: Cloudflare
非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー
リクエストヘッダー変換ルールを作成し、静的な値(Cloudflare)の X-Source HTTP ヘッダーをリクエストへ追加します。
次のリクエストヘッダー変換ルールは、静的な値(Cloudflare)の X-Source ヘッダーを HTTP リクエストへ追加します。
Expression Editor に入力するテキスト:
starts_with(http.request.uri.path, "/en/")Modify request header で選ぶ操作: Set static
Header name: X-Source
Value: Cloudflare
役に立ちましたか?