1 parent
e6b1cbc057
commit
1c5bf6a52b
1 file changed
+1
-1
@@ -31,7 +31,7 @@ services:
|
|||||||
- "traefik.http.routers.api.entrypoints={{ if $.TRAEFIK_LETSENCRYPT_EMAIL }}https{{ else }}http{{ end }}"
|
- "traefik.http.routers.api.entrypoints={{ if $.TRAEFIK_LETSENCRYPT_EMAIL }}https{{ else }}http{{ end }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
- "traefik.http.routers.middlewares=auth"
|
- "traefik.http.routers.api.middlewares=auth"
|
||||||
{{ if $.TRAEFIK_BASIC_AUTH }}
|
{{ if $.TRAEFIK_BASIC_AUTH }}
|
||||||
- "traefik.http.middlewares.auth.basicauth.users={{ $.TRAEFIK_BASIC_AUTH }}"
|
- "traefik.http.middlewares.auth.basicauth.users={{ $.TRAEFIK_BASIC_AUTH }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user