Set up TLS with Basic Auth

This commit is contained in:
Colin Hebert
2022-12-31 16:45:29 +01:00
parent b001874c95
commit e43c8f9b91
4 changed files with 26 additions and 4 deletions

View File

@@ -3,3 +3,9 @@ http:
traefik:
rule: Host(`traefik.dev.dedicated.contact`)
service: api@internal
middlewares: {}
#- traefik-auth
middlewares:
traefik-auth:
basicAuth:
usersFile: /run/secrets/htpasswd