docs: update middleware example

This commit is contained in:
Jonas Kaninda
2024-11-20 07:57:15 +01:00
parent ece8f57596
commit 1c1353e3a5
3 changed files with 19 additions and 20 deletions

View File

@@ -29,7 +29,7 @@ Example of access middleware
```yaml
routes:
- path: /protected
name: Basic auth
name: protected
rewrite: /
destination: 'https://example.com'
methods: [POST, PUT, GET]