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