homeinfra_infra/docker/traefik/conf/apps/base.yml

21 lines
431 B
YAML
Raw Normal View History

2023-12-16 22:01:00 +08:00
http:
middlewares:
redirect-to-https:
redirectscheme:
scheme: https
routers:
# traefik-api:
# middlewares: traefik-basic-auth
# rule: Host(`traefik-dashboard.homeinfra.org`)
# service: api@internal
# entrypoints: web
http_to_https:
entrypoints: web
middlewares: redirect-to-https
priority: 1
rule: HostRegexp(`{catchall:.*}`)
service: noop@internal