Browse Source

Added redirect to default map if none is provided

develop
Ludwig Behm 3 months ago
parent
commit
a356352db4
  1. 4
      docker-compose.yaml

4
docker-compose.yaml

@ -51,6 +51,10 @@ services:
- "traefik.http.routers.front-ssl.service=front"
- "traefik.http.routers.front-ssl.tls.certresolver=le"
- "traefik.http.routers.front-ssl.tls.domains[0].main=play.kraut.world"
# redirect default map
- "traefik.http.middlewares.default-redirect.redirectregex.regex=^https://play.kraut.world/$$"
- "traefik.http.middlewares.default-redirect.redirectregex.replacement=https://play.kraut.world/_/global/raw.githubusercontent.com/die3ungleichen/2D-Welt-thueringen/main/main.json"
- "traefik.http.routers.front-ssl.middlewares=default-redirect"
pusher:
image: thecodingmachine/nodejs:12

Loading…
Cancel
Save