Skip to content

Commit

Permalink
Merge pull request #395 from MaRDI4NFDI/org-redirect
Browse files Browse the repository at this point in the history
Redirect .org domain
  • Loading branch information
physikerwelt authored Sep 27, 2023
2 parents 0f05df2 + ad4bff9 commit 24c7fe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions traefik/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 24c7fe3

Please sign in to comment.