2319| 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-11 17:57 , Processed in 0.122564 second(s), 9 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.