stripprefixregex
This commit is contained in:
parent
1541c45c31
commit
da99532097
@ -16,20 +16,19 @@ http:
|
||||
service: "service-gitea"
|
||||
tls: {}
|
||||
middlewares:
|
||||
- replacepathregex
|
||||
- redirectregex-gitea
|
||||
- stripprefixregex
|
||||
router-firefly:
|
||||
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/firefly`)"
|
||||
service: "service-firefly"
|
||||
tls: {}
|
||||
middlewares:
|
||||
- replacepathregex
|
||||
- stripprefixregex
|
||||
router-homepage:
|
||||
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/home`)"
|
||||
service: "service-homepage"
|
||||
tls: {}
|
||||
middlewares:
|
||||
- replacepathregex-homepage
|
||||
- stripprefixregex
|
||||
|
||||
services:
|
||||
service-dsm:
|
||||
@ -68,6 +67,10 @@ http:
|
||||
replacepathregex:
|
||||
regex: "^(.*)/(.*)"
|
||||
replacement: "/$2"
|
||||
stripprefixregex:
|
||||
stripPrefixRegex:
|
||||
regex:
|
||||
- "/[a-z0-9]+/"
|
||||
redirectregex-gitea:
|
||||
redirectRegex:
|
||||
regex: "^https://(.*)/(.*)"
|
||||
|
Loading…
Reference in New Issue
Block a user