From 11b1ff6d4ca706456c6f098bbe4c2fb8d99d9f2b Mon Sep 17 00:00:00 2001 From: mathieu Date: Sat, 4 May 2024 10:03:00 +0200 Subject: [PATCH] chore: config --- traefik.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/traefik.yml b/traefik.yml index ddf910b..c8f6811 100644 --- a/traefik.yml +++ b/traefik.yml @@ -1,19 +1,19 @@ -# docker: -# endpoint: "unix:///var/run/docker.sock" -# exposedByDefault: false +entryPoints: + web: + address: ":80" + http: + redirections: + entryPoint: + to: websecure + scheme: https + permanent: true + websecure: + address: ":443" +api: + +docker: + endpoint: "unix:///var/run/docker.sock" + exposedByDefault: false -http: - services: - service-dsm: - loadBalancer: - passHostHeader: true - servers: - - url: "http://192.168.1.100:5000/" - routers: - dsm: - entryPoints: - - websecure - rule: "Host(`synology.my-domain.fr`)" - service: service-dsm