From c5d0ebfbca09efdd2489f7abdc168caba2cbc1c6 Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Mon, 28 Feb 2022 11:32:11 +0200 Subject: [PATCH] add slash for prefix --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 821a3e1..666d5ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,7 +43,7 @@ services: traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && Path(`/${GATEWAY_BOARD_ID}`)" traefik.http.routers.micrach.middlewares: "micrach-https-redirect" - traefik.http.middlewares.micrach-secure.stripprefix.prefixes: ${GATEWAY_BOARD_ID} + traefik.http.middlewares.micrach-secure.stripprefix.prefixes: "/${GATEWAY_BOARD_ID}" traefik.http.middlewares.micrach-secure.stripprefix.forceSlash: "false" traefik.http.routers.micrach-secure.entrypoints: "https"