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 |

      1. "Version": "20190101000000",
      2. "Config": {
      3. {
      4. "Cond": "req_path_prefix_in(\"/rewrite\", false)",
      5. {
      6. "Cmd": "PATH_PREFIX_ADD",
      7. "Params": [
      8. ]
      9. ],
      10. "Last": true
      11. }
      12. ]