Jafner.net/archive/docker_config/traefik/traefik_dynamic.toml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

19 lines
633 B
TOML

[http.middlewares]
[http.middlewares.lan-only.ipWhiteList]
sourceRange = ["127.0.0.1/32", "192.168.1.1/24"]
[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"]
[http.routers.api]
rule = "Host(`traefik.jafner.net`)"
entrypoints = ["websecure"]
middlewares = ["authelia@file"]
service = "api@internal"
[http.routers.api.tls]
certResolver = "lets-encrypt"