diff --git a/consul/config/data-service.json b/consul/config/data-service.json index 29fd51b..5647c89 100644 --- a/consul/config/data-service.json +++ b/consul/config/data-service.json @@ -10,10 +10,7 @@ "tags": [ "traefik.enable=true", "traefik.http.routers.data-service.rule=PathPrefix(\"/api/data\")", - "traefik.http.routers.data-service.entrypoints=web", - "traefik.http.middlewares.data-service-rewrite.replacepathregex.regex=^/api/data/(.*)", - "traefik.http.middlewares.data-service-rewrite.replacepathregex.replacement=/api/public/$1", - "traefik.http.routers.data-service.middlewares=data-service-rewrite" + "traefik.http.routers.data-service.entrypoints=web" ], "name": "data-service", "port": 8000