# Rate-limiting per route

**URL:** <https://discuss.konghq.com/t/rate-limiting-per-route/6427>\
**Category:** General\
**Created:** [June 4, 2020, 5:41pm UTC](https://discuss.konghq.com/t/rate-limiting-per-route/6427 "2020-06-04T17:41:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamed\_Hatami](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/hamed_hatami/32/1672_2.png) [@Hamed\_Hatami](https://discuss.konghq.com/u/Hamed_Hatami)\
**Post date:** [June 4, 2020, 5:41pm UTC](https://discuss.konghq.com/t/rate-limiting-per-route/6427/1 "2020-06-04T17:41:44Z")

</div>

My question is that I have an Ingress within multiple paths so how can I specify different rate-limiting for each one separately while they’re defined in one Ingress (don’t notice to the bad indentation)

apiVersion: extensions/v1beta1  
kind: Ingress  
metadata:  
annotations:  
[configuration.konghq.com](http://configuration.konghq.com): xdr-raw-api  
[plugins.konghq.com](http://plugins.konghq.com): xdr-raw-api-rate-limiting  
name: xdr-raw-api  
namespace: acc3-iot-api  
spec:  
rules:  
- http:  
paths:  
- backend:  
serviceName: xdr-raw-api  
servicePort: http  
path: /iot/api/xdr/sampl1111  
- backend:  
serviceName: xdr-raw-api  
servicePort: http  
path: /iot/api/xdr/sampl2222

---

<div class="post-metadata">

**Author:** ![hbagdi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/hbagdi/32/562_2.png) [@hbagdi](https://discuss.konghq.com/u/hbagdi)\
**Post date:** [June 8, 2020, 5:13pm UTC](https://discuss.konghq.com/t/rate-limiting-per-route/6427/2 "2020-06-08T17:13:25Z")

</div>

You need to create an Ingress resource for each path separately and then define associate a different KongPlugin (which has different limits) to each one of those.
