docs(ratelimit requestheader): add note concerning behavior if header is missing

Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
Dusty Gutzmann 2024-05-29 02:40:05 -06:00 committed by GitHub
parent 9250b5937d
commit 0f0cc420e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -432,6 +432,8 @@ http:
Name of the header used to group incoming requests. Name of the header used to group incoming requests.
!!! important "If the header is not present, rate limiting will still be applied, but all requests without the specified header will be grouped together."
```yaml tab="Docker" ```yaml tab="Docker"
labels: labels:
- "traefik.http.middlewares.test-ratelimit.ratelimit.sourcecriterion.requestheadername=username" - "traefik.http.middlewares.test-ratelimit.ratelimit.sourcecriterion.requestheadername=username"