扫码关注官方订阅号
我想把/template/view/images/给重定向为/images/,应该怎么写?
认证0级讲师
rewrite ^/template/view/images/(.)..$ $1/images/$2 last;
conflocation ^~ /images/ { root /template/view/images/; }
conf
location ^~ /images/ { root /template/view/images/; }
http://www.hubwiz.com/course/54f031e2f8638715e4cb8e0c/
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
rewrite ^/template/view/images/(.)..$ $1/images/$2 last;
http://www.hubwiz.com/course/54f031e2f8638715e4cb8e0c/
