重写变量超过2个数,就出问题了
rewrite /1/2_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*).html /1/2-$1-$2-$3-$4-$5-$6-$7-$8-$9---.html permanent;
后面3个要用什么变量代替呢
$9---.html
或者有什么办法代替?
重写变量超过2个数,就出问题了
rewrite /1/2_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*)_(.*).html /1/2-$1-$2-$3-$4-$5-$6-$7-$8-$9---.html permanent;
后面3个要用什么变量代替呢
$9---.html
或者有什么办法代替?
2 回答1.1k 阅读
1 回答891 阅读✓ 已解决
1 回答755 阅读
1 回答969 阅读
747 阅读
how to pass more than 9 parameters in nginx
(?<p10>.*)
$p10