Skip to content

Commit

Permalink
Add data.{} as an alternative route to girder
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Dec 11, 2018
1 parent 5c444b5 commit 86b4a0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/traefik/traefik.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ main = "*.${subdomain}.${domain}"
[[acme.domains]]
main = "dashboard-${subdomain}.${domain}"

[[acme.domains]]
main = "data.${domain}"

[web]
address = ":8080"

Expand Down
2 changes: 1 addition & 1 deletion stacks/core/swarm-compose.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ services:
deploy:
replicas: 1
labels:
- "traefik.frontend.rule=Host:girder.${subdomain}.${domain}"
- "traefik.frontend.rule=Host:girder.${subdomain}.${domain},data.${domain}"
- "traefik.port=8080"
- "traefik.enable=true"
- "traefik.docker.network=wt_traefik-net"
Expand Down

0 comments on commit 86b4a0f

Please sign in to comment.