Skip to content
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

Limitation isn't applied on specific endpoint #96

Closed
namnik opened this issue Oct 15, 2019 · 1 comment
Closed

Limitation isn't applied on specific endpoint #96

namnik opened this issue Oct 15, 2019 · 1 comment

Comments

@namnik
Copy link

namnik commented Oct 15, 2019

I read #46
but I have the same problem!.

my appsetting

"IpRateLimiting": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"IpWhitelist": [], //"127.0.0.1", "::1/10", "192.168.0.0/24"
"EndpointWhitelist": [ "get:/api/basis/product/parents" ],
"ClientWhitelist": [], //"dev-id-1", "dev-id-2"
"GeneralRules": [
{
"Endpoint": ":/api/basis/personTypes",
"Period": "10s",
"Limit": 4
},
{
**"Endpoint": "'
'",**
"Period": "10s",
"Limit": 2
}
]
}
}

now, be apply aesterik endpoint limit(*)
but I want to apply *"Endpoint": ":/api/basis/personTypes",

how?!
tnx a lot

@hueifeng
Copy link

hueifeng commented Nov 1, 2019

The Wildcard match issues are fixed here: #63

@namnik namnik closed this as completed Nov 7, 2019
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

2 participants