add slash for prefix

This commit is contained in:
Yanislav Igonin 2022-02-28 11:32:11 +02:00
parent 88aba20245
commit c5d0ebfbca

View File

@ -43,7 +43,7 @@ services:
traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && Path(`/${GATEWAY_BOARD_ID}`)" traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && Path(`/${GATEWAY_BOARD_ID}`)"
traefik.http.routers.micrach.middlewares: "micrach-https-redirect" 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.middlewares.micrach-secure.stripprefix.forceSlash: "false"
traefik.http.routers.micrach-secure.entrypoints: "https" traefik.http.routers.micrach-secure.entrypoints: "https"