From 38be6c13f76e893cf47636257071b440dec0c5b2 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/lhost/files/traefik.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bundles/lhost/files/traefik.yaml (limited to 'bundles/lhost/files/traefik.yaml') diff --git a/bundles/lhost/files/traefik.yaml b/bundles/lhost/files/traefik.yaml new file mode 100644 index 0000000..d1722a0 --- /dev/null +++ b/bundles/lhost/files/traefik.yaml @@ -0,0 +1,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 -- cgit 1.4.1