Regex to redirect two different URLs starting with the same string

前端 未结 0 525
感情败类
感情败类 2020-12-08 01:36

Those are my two nginx rules :

rewrite ^(/v1/foobar)(.*)$ /final$2 permanent;
rewrite ^(/v1/foobar-tow)(.*)$ /final$2 permanent;

I expect tha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题