Skip to content

Commit

Permalink
fix escape in domain regex
Browse files Browse the repository at this point in the history
  • Loading branch information
joschahenningsen committed Mar 9, 2024
1 parent 88b494f commit 3f115f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ version: '3.8'
services:
tumsexy:
image: ghcr.io/tum-dev/tum.sexy/sexy-server:latest

labels:
- "traefik.enable=true"
- "traefik.http.routers.tumsexy.entrypoints=web"
- "traefik.http.routers.tumsexy.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\-]+}.tum.sexy`)"
- "traefik.http.routers.tumsexy.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\\-]+}.tum.sexy`)"
- "traefik.http.routers.tumsexy.middlewares=webs-redirectscheme"

- "traefik.http.routers.tumsexy-secure.entrypoints=webs"
- "traefik.http.routers.tumsexy-secure.tls.certresolver=sexyresolver"
- "traefik.http.routers.tumsexy-secure.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\-]+}.tum.sexy`)"
- "traefik.http.routers.tumsexy-secure.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\\-]+}.tum.sexy`)"
- "traefik.http.services.tumsexy-secure.loadbalancer.server.port=80"
networks:

networks:
traefik_traefik:
external: true

0 comments on commit 3f115f7

Please sign in to comment.