问题描述
怎样把 http://xxxxx/go-store 指向 http://xxxxx/download.html
问题解答
回答1:location /go-store { rewrite (.*) /download.html; }回答2:
直接用rewrite即可,写在server的配置中
rewrite ^/go-store$ /download.html last;回答3:
rewrite ^/go-store$ /download.html

问题描述
怎样把 http://xxxxx/go-store 指向 http://xxxxx/download.html
问题解答
回答1:location /go-store { rewrite (.*) /download.html; }回答2:
直接用rewrite即可,写在server的配置中
rewrite ^/go-store$ /download.html last;回答3:
rewrite ^/go-store$ /download.html
相关文章:1. $(’div’)和$(div)的区别是什么呢?什么时候div加引号,什么时候div不加引号?2. jQuery之id选择器的问题?3. 求问jQuery中delegate 和on的区别?4. javascript - 线上部署webpack,提示Uncaught Error: Cannot find module "—progress"5. mysql - sphinx查询 "中国" 时也能查询到 "中华人民共和国"6. div浮动不是很好,不知道问题出在哪7. 相邻元素选择器中next能否省略?8. 为什么有的时候用function(){},有的时候不用9. node.js是用来干什么的10. attr()和val()的区别求详细解答?

网公网安备:皖ICP备2020019022号-8 Copyright ¢ 2020-2025 Powered by V1.8 All Rights Reserved 技术支持:乐呵呵网
声明:本站所有资源以学习为主