diff --git a/docker-compose.yml b/docker-compose.yml index 9bb0c2c..16c057b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,11 +20,10 @@ services: - /var/run/docker.sock:/var/run/docker.sock labels: - traefik.enable=true - - traefik.http.routers.traefik_https.rule=Host(`huguettes.freeboxos.fr`) && Path(`/traefik`) - - traefik.http.routers.traefik_https.entrypoints=websecure - - traefik.http.routers.traefik_https.tls=true - - traefik.http.routers.traefik_https.tls.certResolver=myresolver - - traefik.http.routers.traefik_https.service=api@internal + - traefik.http.routers.api.rule=Host(`huguettes.freeboxos.fr`) && Path(`/dashboard`) || Host(`huguettes.freeboxos.fr`) && Path(`/api`) + - traefik.http.routers.api.tls=true + - traefik.http.routers.api.tls.certResolver=myresolver + - traefik.http.routers.api.service=api@internal