javascript - ngx如何运用redirect
本文介绍了javascript - ngx如何运用redirect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
现在有
location = /index {
rewrite ^ /godbless?$do=foot;
}
但是我的url发生改变,我想让indexTag去做这件事,然后让所有指向index的redirect到indexTag上
我需要怎么做啊,如何使用redirect呢
解决方案
你贴的这个就是 redirect,把相应的网站目录改成想要的即可。
这篇关于javascript - ngx如何运用redirect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文