diff --git a/traefik/traefik.yml b/traefik/traefik.yml index 1391007..364717b 100644 --- a/traefik/traefik.yml +++ b/traefik/traefik.yml @@ -45,3 +45,10 @@ certificatesResolvers: httpChallenge: # used during the challenge entryPoint: web + +http: + middlewares: + org-redirectregex: + redirectRegex: + regex: "^https?://(www\.)?mardi4nfdi.org/(.*)" + replacement: "https://www.mardi4nfdi.de/${3}"