Docs: update configuration and deployment

This commit is contained in:
Jonas Kaninda
2024-11-10 17:47:05 +01:00
parent 00702e138b
commit b2ae3cf0a5
6 changed files with 184 additions and 139 deletions

View File

@@ -8,5 +8,30 @@ nav_order: 4
# Load Balancing
Goma Gateway supports rund robim load blancing
```yaml
version: 1.0
gateway:
routes:
- path: /
name: example route
hosts:
- example.com
- example.localhost
rewrite: /
methods: []
healthCheck:
path: "/"
interval: 0
timeout: 0
healthyStatuses: [200,404]
## destination: will be override by backends
destination: ""
backends:
- https://example.com
- https://example2.com
- https://example4.com
cors:
```