Jafner.net/docker_config/traefik/traefik_dynamic.toml
2021-03-01 11:45:53 -08:00

16 lines
388 B
TOML

[http.middlewares.simpleauth.basicAuth]
usersFile = "/.htpasswd"
[http.middlewares]
[http.middlewares.lan-only.ipWhiteList]
sourceRange = ["127.0.0.1/32", "192.168.1.1/24"]
[http.routers.api]
rule = "Host(`traefik.jafner.net`)"
entrypoints = ["websecure"]
middlewares = ["simpleauth"]
service = "api@internal"
[http.routers.api.tls]
certResolver = "lets-encrypt"