mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
change path to pathprefix
This commit is contained in:
parent
c5d0ebfbca
commit
8a194d7f48
@ -40,14 +40,14 @@ services:
|
||||
traefik.http.middlewares.micrach-https-redirect.redirectscheme.scheme: "https"
|
||||
|
||||
traefik.http.routers.micrach.entrypoints: "http"
|
||||
traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && Path(`/${GATEWAY_BOARD_ID}`)"
|
||||
traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/${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.forceSlash: "false"
|
||||
|
||||
traefik.http.routers.micrach-secure.entrypoints: "https"
|
||||
traefik.http.routers.micrach-secure.rule: "Host(`micrach.igonin.dev`) && Path(`/${GATEWAY_BOARD_ID}`)"
|
||||
traefik.http.routers.micrach-secure.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/${GATEWAY_BOARD_ID}`)"
|
||||
traefik.http.routers.micrach-secure.tls: "true"
|
||||
traefik.http.routers.micrach-secure.service: "micrach"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user