Skip to content

Commit

Permalink
♻️ Traefik rules: final Path needed for viewing files (#2737)
Browse files Browse the repository at this point in the history
* final missing part for /view entrypoint
* add /#/error
  • Loading branch information
sanderegg authored Jan 13, 2022
1 parent fe7b308 commit 1f76deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ services:
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=hostregexp(`{host:.+}`)
&& (Path(`/`, `/v0`,`/socket.io/`,`/static-frontend-data.json`,
`/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}`,
`/view`) || PathPrefix(`/v0/`))
`/view`, `/#/view`, `/#/error`) || PathPrefix(`/v0/`))
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.entrypoints=http
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=2
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.middlewares=${SWARM_STACK_NAME}_gzip@docker,
Expand Down

0 comments on commit 1f76deb

Please sign in to comment.