Fix missing middleware application for whoami service in docker guide

This commit is contained in:
Copilot 2025-08-22 17:20:04 +02:00 committed by GitHub
parent fcae39bf13
commit 8ac8473554
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -258,6 +258,9 @@ labels:
# IP Allowlist Middleware
- "traefik.http.middlewares.ip-allowlist.ipallowlist.sourceRange=127.0.0.1/32,192.168.0.0/16,10.0.0.0/8"
# Apply middlewares to whoami router
- "traefik.http.routers.whoami.middlewares=secure-headers,ip-allowlist"
```
Add the same middleware to your whoami-api service: