This commit is contained in:
mathieu 2024-05-23 22:09:34 +02:00
parent bb247fec71
commit 1d34c58830

View File

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