Skip to content

Exclude base path but include specific path #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
omri-shilton opened this issue Apr 24, 2025 · 0 comments
Open

Exclude base path but include specific path #621

omri-shilton opened this issue Apr 24, 2025 · 0 comments

Comments

@omri-shilton
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant