rule firefly

This commit is contained in:
mathieu 2024-05-26 20:07:53 +02:00
parent da99532097
commit 37de6f2b29

View File

@ -22,7 +22,7 @@ http:
service: "service-firefly" service: "service-firefly"
tls: {} tls: {}
middlewares: middlewares:
- stripprefixregex - stripprefixregex-firefly
router-homepage: router-homepage:
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/home`)" rule: "Host(`huguettes.freeboxos.fr`) && Path(`/home`)"
service: "service-homepage" service: "service-homepage"
@ -71,6 +71,11 @@ http:
stripPrefixRegex: stripPrefixRegex:
regex: regex:
- "/[a-z0-9]+/" - "/[a-z0-9]+/"
stripprefixregex-firefly:
stripPrefix:
prefixes:
- "/firefly"
redirectregex-gitea: redirectregex-gitea:
redirectRegex: redirectRegex:
regex: "^https://(.*)/(.*)" regex: "^https://(.*)/(.*)"