Use basic-auth to protect librespeed rather than whitelist

This commit is contained in:
Jake Howard
2020-05-06 16:11:29 +01:00
parent aad14a4ceb
commit 56ebe2ad01
3 changed files with 14 additions and 1 deletions

View File

@ -13,4 +13,5 @@ services:
- "traefik.http.routers.librespeed.rule=Host(`speed.jakehoward.tech`)"
- "traefik.http.routers.librespeed.tls=true"
- "traefik.http.routers.librespeed.tls.certresolver=le"
- "traefik.http.routers.librespeed.middlewares=internal-only@file"
- "traefik.http.routers.librespeed.middlewares=librespeed-auth@docker"
- "traefik.http.middlewares.librespeed-auth.basicauth.users={{ librespeed_basicauth }}"