docs: update rate limiting

This commit is contained in:
Jonas Kaninda
2024-11-25 08:38:03 +01:00
parent 42292bb53d
commit f0f5dea2a3
2 changed files with 26 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ type Route struct {
HealthCheck RouteHealthCheck `yaml:"healthCheck"`
// Cors contains the route cors headers
Cors Cors `yaml:"cors"`
RateLimit int `yaml:"rateLimit"`
RateLimit int `yaml:"rateLimit,omitempty"`
// DisableHostFording Disable X-forwarded header.
//
// [X-Forwarded-Host, X-Forwarded-For, Host, Scheme ]