From 385dc26668a1c277df2f7cea1823e5e358daae51 Mon Sep 17 00:00:00 2001 From: Florian Richer Date: Tue, 8 Aug 2023 23:08:13 +0200 Subject: [PATCH] Add octoprint in dynamic conf --- roles/traefik/files/config/dynamic_conf.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/roles/traefik/files/config/dynamic_conf.yaml b/roles/traefik/files/config/dynamic_conf.yaml index bd71432..6d6eb90 100644 --- a/roles/traefik/files/config/dynamic_conf.yaml +++ b/roles/traefik/files/config/dynamic_conf.yaml @@ -1 +1,14 @@ -http: {} \ No newline at end of file +http: + routers: + octoPrint-secure: + entryPoints: + - https + rule: Host(`octoprint.mrdev023.fr`) + tls: + certResolver: sslResolver + service: octoPrint + services: + octoPrint: + loadBalancer: + servers: + - url: "http://192.168.1.16:80/"