Fix redirect middleware
This commit is contained in:
parent
4638afde6b
commit
f59befbf87
1 changed files with 3 additions and 3 deletions
|
@ -18,8 +18,8 @@ http:
|
|||
permanent: true
|
||||
xueyue_li_art_to_juna_li_com:
|
||||
redirectRegex:
|
||||
regex: "^(https://)(www\\.)?xueyue-li\\.art(.*)"
|
||||
replacement: "${1}${2}juna-li.com${3}"
|
||||
regex: "^https://(www\\.)?xueyue-li\\.art(.*)"
|
||||
replacement: "https://juna-li.com${2}"
|
||||
permanent: true
|
||||
yinghong_massage_ratelimit:
|
||||
rateLimit:
|
||||
|
@ -38,7 +38,7 @@ http:
|
|||
permanent: true
|
||||
|
||||
routers:
|
||||
to_xueyue_li_art:
|
||||
to_juna_li_com:
|
||||
rule: Host(`juna-li.com`) || Host(`www.juna-li.com`) || Host(`xueyue-li.art`)|| Host(`www.xueyue-li.art`)
|
||||
middlewares:
|
||||
- xueyue_li_art_to_juna_li_com
|
||||
|
|
Loading…
Add table
Reference in a new issue