From ae8ce829a6544d678e2d70faf8d6692e6a8a9786 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 29 Sep 2020 15:54:46 +0200 Subject: [PATCH] HostSNI is not supported by UDP --- docs/docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/docker-compose.yml b/docs/docker-compose.yml index f0d45a3..364cdd0 100644 --- a/docs/docker-compose.yml +++ b/docs/docker-compose.yml @@ -21,7 +21,7 @@ services: - "--entrypoints.web.address=:80" - "--entrypoints.web.http.redirections.entryPoint.to=websecure" - "--entrypoints.websecure.address=:443" - - "--entrypoints.srtsecure.address=:9710" + - "--entrypoints.srtsecure.address=:9710/udp" # Define certificates - "--certificatesResolvers.mytlschallenge.acme.email=root@example.com" - "--certificatesResolvers.mytlschallenge.acme.storage=/data/acme.json" @@ -49,8 +49,6 @@ services: - "traefik.http.routers.ghostream-metrics.service=ghostream-metrics" - "traefik.http.services.ghostream-metrics.loadbalancer.server.port=2112" - - "traefik.udp.routers.ghostream-srt.rule=HostSNI(`stream.example.com`)" - - "traefik.udp.routers.ghostream-srt.entrypoints=srtsecure" - - "traefik.udp.routers.ghostream-srt.tls.certresolver=mytlschallenge" + - "traefik.udp.routers.ghostream-srt.entrypoints=srt" - "traefik.udp.routers.ghostream-srt.service=ghostream-srt" - "traefik.udp.services.ghostream-srt.loadbalancer.server.port=9710"