fix: websecure redirect

This commit is contained in:
Andras Bacsai 2022-11-04 11:44:04 +01:00
parent 0022d380bb
commit afde00a4be

View File

@ -180,6 +180,13 @@ export async function proxyConfiguration(request: FastifyRequest<OnlyId>, remote
priority: 1,
middlewares: ["redirect-regexp"]
}
traefik.http.routers['catchall'] = {
entrypoints: ["websecure"],
rule: "HostRegexp(`{catchall:.*}`)",
service: "noop",
priority: 1,
middlewares: ["redirect-regexp"]
}
traefik.http.middlewares['redirect-regexp'] = {
redirectregex: {
regex: '(.*)',