docker-compose-collection/traefik/dynamic.yml

15 lines
285 B
YAML
Raw Permalink Normal View History

2023-02-05 16:32:56 +08:00
http:
routers:
2023-02-05 16:34:26 +08:00
subservice:
2023-02-05 16:32:56 +08:00
rule: Host(`subservice.xxx.domain`)
service: subservice
entryPoints: ["websecure"]
tls:
certResolver: letsencrypt
services:
subservice:
loadBalancer:
servers:
2023-02-05 16:34:26 +08:00
- url: http://192.168.xxx.xxx