enable internal api
This commit is contained in:
parent
9388779a0e
commit
cda27bccf0
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- traefik.http.routers.api.entrypoints=http
|
- traefik.http.routers.api.entrypoints=http
|
||||||
- traefik.http.routers.api.entrypoints=https
|
- traefik.http.routers.api.entrypoints=https
|
||||||
|
- traefik.http.routers.api.service=api@internal
|
||||||
# middleware auth
|
# middleware auth
|
||||||
- traefik.http.routers.api.middlewares=auth
|
- traefik.http.routers.api.middlewares=auth
|
||||||
- traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH}
|
- traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH}
|
||||||
|
|
Loading…
Add table
Reference in a new issue