Skip to content

feature: add a new option, decide if we remove the "/" at the end of the URI before route mathing #1765

@membphis

Description

@membphis

here is the discuss mail: https://lists.apache.org/thread.html/rd89e4e0a2d59e183afa00c8c1badf213ef45c0992f841046e129a965%40%3Cdev.apisix.apache.org%3E

add new option delete_uri_tail_slash in conf/config.yaml.

  delete_uri_tail_slash: true     # delete the '/' at the end of the URI
  router:
    http: 'radixtree_uri'         # radixtree_uri: match route by uri(base on radixtree)
                                  # radixtree_host_uri: match route by host + uri(base on radixtree)
    ssl: 'radixtree_sni'          # radixtree_sni: match route by SNI(base on radixtree)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions