Jafner.net/archive/docker_config/traefik/traefik_dynamic.toml

19 lines
633 B
TOML
Raw Normal View History

2021-03-01 11:45:53 -08:00
[http.middlewares]
[http.middlewares.lan-only.ipWhiteList]
sourceRange = ["127.0.0.1/32", "192.168.1.1/24"]
2021-07-11 00:54:17 -07:00
[http.middlewares.simpleauth.basicAuth]
usersFile = "/.htpasswd"
[http.middlewares.authelia.forwardAuth]
address = "http://authelia:9091/api/verify?rd=https://auth.jafner.net"
trustForwardHeader = "true"
authResponseHeaders = ["Remote-User", "Remote-Groups", "Remote-Name", "Remote-Email"]
2021-03-01 11:45:53 -08:00
[http.routers.api]
rule = "Host(`traefik.jafner.net`)"
entrypoints = ["websecure"]
2021-07-11 00:54:17 -07:00
middlewares = ["authelia@file"]
2021-03-01 11:45:53 -08:00
service = "api@internal"
[http.routers.api.tls]
certResolver = "lets-encrypt"