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