|
2323| 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-30 11:52 , Processed in 0.059547 second(s), 6 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.