|
2322| 7
|
[Windows VPS] 求一个NGINX下的跳转规则 |
|
50金钱
最佳答案rewrite ^/(.+)/.+/.+/(.*\.html)$ http://www.yourdomain.com/$1/$2 permanent;
rewrite ^/(.+)/.+/(.*\.html)$ http://www.yourdomain.com/$1/$2 permanent;
| ||
| ||
| ||
| ||
| ||
| ||
GMT+8, 2025-10-29 13:16 , Processed in 0.062735 second(s), 9 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.