about summary refs log tree commit diff
path: root/bundles/lhost/files/traefik.yaml
blob: d1722a0e877ee1b4fbc8c6771145b9ee3ac8702d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
http:
  services:
    lhost:
      loadBalancer:
        servers:
          - url: http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("www/lhost/port")}

  routers:
    lhost:
      rule: Host(`l.gzr.im`)
      entryPoints:
        - http
        - https
      service: lhost
      middlewares:
        - tls-redirect@file
      tls:
        certResolver: le