docker-compose-collection/traefik/dynamic.yml
2023-02-05 16:34:26 +08:00

15 lines
285 B
YAML

http:
routers:
subservice:
rule: Host(`subservice.xxx.domain`)
service: subservice
entryPoints: ["websecure"]
tls:
certResolver: letsencrypt
services:
subservice:
loadBalancer:
servers:
- url: http://192.168.xxx.xxx