Refactor traefik.yml to fix routing rules for resume and blog subdomains

This commit is contained in:
2024-05-29 21:06:46 +08:00
parent 1775c937e6
commit 8820fbe01e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -266,14 +266,14 @@ http:
redirect-resume:
redirectRegex:
regex: "^https://resume.furyhawk.lol/(.*)"
replacement: "https://info.furyhawk.lol/resume/"
replacement: "https://info.furyhawk.lol/resume/${1}"
permanent: true
redirect-blog:
# https://docs.traefik.io/master/middlewares/redirectscheme/
redirectregex:
regex: "^https://blog.furyhawk.lol/(.*)"
replacement: "https://furyhawk.github.io/124c41/"
replacement: "https://furyhawk.github.io/124c41/${1}"
permanent: true
neo4j_strip: