Introduction
Configuration
Module config file
Rule config file
| Config Item | Type | Description || —————- | ——— | —————————————————————————————— || Version | String | Verson of config file || Config | Struct | Rewrite rules for each product. Rewrite rule include: - Cond: “condition” expression - Actions: what to do after matched- Last: if true, stop to check the remaining rules |
"Version": "20190101000000",
"Config": {
{
"Cond": "req_path_prefix_in(\"/rewrite\", false)",
{
"Cmd": "PATH_PREFIX_ADD",
"Params": [
]
],
"Last": true
}
]