@@ -527,7 +527,7 @@ services:
527
527
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.service=${SWARM_STACK_NAME}_legacy_services_catchall
528
528
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.priority=1
529
529
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.entrypoints=http
530
- - traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.rule=PathRegexp(`\/x\/(?i) [0-9a-f]{8}-[0-9a-f]{4}-[1-5] [0-9a-f]{3}-[89ab] [0-9a-f]{3} -[0-9a-f]{12}` )
530
+ - traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.rule=(Path(`/x/{node_uuid:\b [0-9a-f]{8}\b -[0-9a-f]{4}-[0-9a-f]{4}- [0-9a-f]{4}-\b[0-9a-f]{12}\b}`) || PathPrefix(`/x/{node_uuid:\b [0-9a-f]{8}\b -[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{ 12}\b}/`) )
531
531
# this tricks traefik into a 502 (bad gateway) since the service does not exist on this port
532
532
- traefik.http.services.${SWARM_STACK_NAME}_legacy_services_catchall.loadbalancer.server.port=0
533
533
# this tricks traefik into returning a 503 (service unavailable) since the healthcheck will always return false
@@ -748,7 +748,7 @@ services:
748
748
- traefik.http.services.${SWARM_STACK_NAME}_webserver.loadbalancer.sticky.cookie.secure=true
749
749
- traefik.http.middlewares.${SWARM_STACK_NAME}_webserver_retry.retry.attempts=2
750
750
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.service=${SWARM_STACK_NAME}_webserver
751
- - traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=(Path(`/`) || Path(`/v0`) || Path(`/socket.io/`) || Path(`/static-frontend-data.json`) || PathRegexp(`\ /study\/(?i) [0-9a-f]{8}-[0-9a-f]{4}-[1-5][ 0-9a-f]{3 }-[89ab][ 0-9a-f]{3}- [0-9a-f]{12}`) || Path(`/view`) || Path(`/#/view`) || Path(`/#/error`) || PathPrefix(`/v0/`))
751
+ - traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=(Path(`/`) || Path(`/v0`) || Path(`/socket.io/`) || Path(`/static-frontend-data.json`) || Path(` /study/{study_uuid:\b [0-9a-f]{8}\b -[0-9a-f]{4}-[0-9a-f]{4 }-[0-9a-f]{4}-\b [0-9a-f]{12}\b }`) || Path(`/view`) || Path(`/#/view`) || Path(`/#/error`) || PathPrefix(`/v0/`))
752
752
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.entrypoints=http
753
753
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=2
754
754
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.middlewares=${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader@swarm, ${SWARM_STACK_NAME}_webserver_retry
0 commit comments