docs: update deployment doc

This commit is contained in:
Jonas Kaninda
2024-11-09 15:06:09 +01:00
parent 11b64df0fa
commit 3daa750e54
19 changed files with 705 additions and 429 deletions

View File

@@ -0,0 +1,22 @@
---
title: Rate Limit
layout: default
parent: Middleware
nav_order: 6
---
### RateLimit middleware
The RateLimit middleware ensures that services will receive a fair number of requests, and allows one to define what fair is.
Example of global rateLimit middleware
```yaml
version: 0.1.7
gateway:
# Proxy rate limit, it's In-Memory IP based
rateLimit: 60 # peer minute
routes:
- name: Example
```