Add more selective match to increase the regex precedence
This commit is contained in:
@@ -100,11 +100,11 @@
|
||||
io.containers.autoupdate: "registry"
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.gitea.entrypoints: "https"
|
||||
traefik.http.routers.gitea.rule: "PathPrefix(`/git`)"
|
||||
traefik.http.routers.gitea.rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/git/`) || Path(`/git`))"
|
||||
traefik.http.routers.gitea.tls: "true"
|
||||
traefik.http.routers.gitea.tls.certresolver: "wildcard"
|
||||
traefik.http.routers.gitea.service: "gitea"
|
||||
traefik.http.routers.gitea.middlewares: "gitea-prefixstrip@docker"
|
||||
traefik.http.routers.gitea.middlewares: "force-trailing-slash@file,gitea-prefixstrip@docker"
|
||||
traefik.http.middlewares.gitea-prefixstrip.stripprefix.prefixes: "/git"
|
||||
traefik.http.services.gitea.loadbalancer.server.port: "3000"
|
||||
traefik.docker.network: "traefik-gitea"
|
||||
|
||||
Reference in New Issue
Block a user