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/"