forked from Nixius/authelia
Fix Gitea assets 404: give customer Traefik router priority=2 so /i/username requests hit Gitea not ss-atlas
Made-with: Cursor
This commit is contained in:
parent
53abd800e0
commit
2e8979d4d8
|
|
@ -49,6 +49,7 @@ services:
|
||||||
traefik.docker.network: "atlas_{{.TraefikNetwork}}"
|
traefik.docker.network: "atlas_{{.TraefikNetwork}}"
|
||||||
traefik.http.routers.customer-{{.ID}}-web.rule: "Host(`{{.Domain}}`) && PathPrefix(`/i/{{.Subdomain}}`)"
|
traefik.http.routers.customer-{{.ID}}-web.rule: "Host(`{{.Domain}}`) && PathPrefix(`/i/{{.Subdomain}}`)"
|
||||||
traefik.http.routers.customer-{{.ID}}-web.entrypoints: "websecure"
|
traefik.http.routers.customer-{{.ID}}-web.entrypoints: "websecure"
|
||||||
|
traefik.http.routers.customer-{{.ID}}-web.priority: "2"
|
||||||
traefik.http.routers.customer-{{.ID}}-web.tls: "true"
|
traefik.http.routers.customer-{{.ID}}-web.tls: "true"
|
||||||
traefik.http.routers.customer-{{.ID}}-web.middlewares: "strip-customer-{{.ID}}@swarm,authelia-auth@swarm"
|
traefik.http.routers.customer-{{.ID}}-web.middlewares: "strip-customer-{{.ID}}@swarm,authelia-auth@swarm"
|
||||||
traefik.http.middlewares.strip-customer-{{.ID}}.stripprefix.prefixes: "/i/{{.Subdomain}}"
|
traefik.http.middlewares.strip-customer-{{.ID}}.stripprefix.prefixes: "/i/{{.Subdomain}}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue