Fix missing middleware application for whoami service in docker guide
This commit is contained in:
parent
fcae39bf13
commit
8ac8473554
1 changed files with 3 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue