This commit is contained in:
mathieu 2024-05-23 22:18:11 +02:00
parent 1d34c58830
commit 5551626a7c

View File

@ -14,7 +14,7 @@ http:
certresolver: myresolver
middlewares:
- replacepathregex-vaultwarden
- redirectregex-vaultwarden
router-gitea:
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/gitea`)"
service: "service-gitea"
@ -22,7 +22,7 @@ http:
certresolver: myresolver
middlewares:
- replacepathregex-gitea
- redirectregex-gitea
services:
service-dsm:
@ -49,16 +49,16 @@ http:
replacement: "/$1"
replacepathregex-vaultwarden:
replacepathregex:
regex: "^/vaultwarden/(.*)"
replacement: "/$1"
regex: "^(.*)/(.*)"
replacement: "/$2"
redirectregex-vaultwarden:
redirectRegex:
regex: "^https://huguettes.freeboxos.fr/(.*)"
replacement: "https://huguettes.freeboxos.fr/vaultwarden/${1}"
replacepathregex-gitea:
replacepathregex:
regex: "^/gitea/(.*)"
replacement: "/$1"
regex: "^(.*)/(.*)"
replacement: "/$2"
redirectregex-gitea:
redirectRegex:
regex: "^https://huguettes.freeboxos.fr/(.*)"