From 3b356a1f8c54d8236f7d3a1210f949e6f627162e Mon Sep 17 00:00:00 2001 From: Mathieu Lecoiffier Date: Sun, 20 Oct 2024 15:15:40 +0000 Subject: [PATCH] feat: confi traefix for code --- traefik/rules.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/traefik/rules.yaml b/traefik/rules.yaml index b3b4451..a80e8ca 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -87,6 +87,12 @@ http: entrypoints: websecure tls: certResolver: myresolver + router-code: + rule: "Host(`code.huguette.ovh`)" + service: "service-code" + entrypoints: websecure + tls: + certResolver: myresolver services: service-dsm: loadBalancer: @@ -163,6 +169,11 @@ http: passHostHeader: true servers: - url: "http://192.168.1.100:8089" + service-code: + loadBalancer: + passHostHeader: true + servers: + - url: "http://192.168.1.100:8090" middlewares: