nginx redirection problem
PHP中文网
PHP中文网 2017-05-16 17:23:10
0
3
484

I want to redirect /template/view/images/ to /images/, how should I write it?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
滿天的星座

rewrite ^/template/view/images/(.)..$ $1/images/$2 last;

小葫芦
conflocation ^~ /images/ {
  root /template/view/images/;
}
小葫芦

http://www.hubwiz.com/course/54f031e2f8638715e4cb8e0c/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!