-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
ConfigurationOcelot feature: ConfigurationOcelot feature: ConfigurationRate LimitingOcelot feature: Rate LimitingOcelot feature: Rate LimitingSpring'25Spring 2025 releaseSpring 2025 releasequestionInitially seen a question could become a new feature or bug or closed ;)Initially seen a question could become a new feature or bug or closed ;)
Milestone
Description
This is my Ocelot.Json file, rate limiter is not working. Can any one tell me any thing else I need to add on?
{
"GlobalConfiguration": {
"BaseUrl": "https://localhost:49977",
"RateLimitOptions": {
"DisableRateLimitHeaders": false,
"QuotaExceededMessage": "Customize Tips!",
"HttpStatusCode": 999,
"ClientIdHeader": "Test"
}
},
"ReRoutes": [
//This is for IMDB API
{
"UpstreamPathTemplate": "/GetMovie",
"UpstreamHttpMethod": [
"Get"
],
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 25158
}
],
"DownstreamPathTemplate": "/GetMovie"
},
//This is to get from WeatherForecast Microservice
{
"UpstreamPathTemplate": "/wf",
"UpstreamHttpMethod": [
"Get"
],
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 42446
}
],
"DownstreamPathTemplate": "/WeatherForecast"
}
]
}
Metadata
Metadata
Assignees
Labels
ConfigurationOcelot feature: ConfigurationOcelot feature: ConfigurationRate LimitingOcelot feature: Rate LimitingOcelot feature: Rate LimitingSpring'25Spring 2025 releaseSpring 2025 releasequestionInitially seen a question could become a new feature or bug or closed ;)Initially seen a question could become a new feature or bug or closed ;)