Skip to content

Exclude base path but include specific path #621

@omri-shilton

Description

@omri-shilton

When trying to exclude a regex with the same base path as some of the urls it just excludes everything:

api:
  prometheus: {}
  souin: {}
default_cache:
  allowed_http_verbs:
    - GET
    - POST
  default_cache_control: public
  key:
    headers:
      - Authorization
  mode: strict
  exclude: "^/api/.+"
  ttl: 5m
urls:
  /api/auth/verify:
    default_cache_control: public
    key:
      headers:
        - Authorization
    ttl: 5m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions