Skip to content

Commit

Permalink
Update mod_header.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iyangsj authored Nov 3, 2019
1 parent 90b2ac6 commit a41dfda
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/zh_cn/configuration/mod_header/mod_header.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

## 内置变量说明

在配置文件 %variable 使用变量
可以通过 %variable 使用变量,参见下文示例

| 变量名 | 描述 |
| -------------- | ---------- |
Expand Down Expand Up @@ -80,6 +80,20 @@
{
"cond": "req_path_prefix_in(\"/header\", false)",
"actions": [
{
"cmd": "REQ_HEADER_SET",
"params": [
"X-Bfe-Log-Id",
"%bfe_log_id"
]
},
{
"cmd": "REQ_HEADER_SET",
"params": [
"X-Bfe-Vip",
"%bfe_vip"
]
},
{
"cmd": "RSP_HEADER_SET",
"params": [
Expand Down

0 comments on commit a41dfda

Please sign in to comment.