|
2327| 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-11-9 05:19 , Processed in 0.061244 second(s), 8 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.