olomana/traefik/traefik-dynamic.toml.blanked
2024-08-11 17:57:48 -07:00

17 lines
464 B
Plaintext

[http.middlewares]
[http.middlewares.redirect-to-www.redirectRegex]
regex = "^https?://whitney.com(.*)"
replacement = "http://www.whitney.com$${1}"
permanent = true
[http.middlewares.simpleAuth.basicAuth]
users = ["olomana:password_hash"]
[http.routers.api]
rule = "Host(`monitor.whitney.rip`)"
entrypoints = "websecure"
middlewares = ["simpleAuth"]
service = "api@internal"
[http.routers.api.tls]
certResolver = "lets-encrypt"