问题描述
怎样把 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
相关文章:
网公网安备:皖ICP备2020019022号-3 Copyright ¢ 2020-2025 Powered by V1.8 All Rights Reserved 技术支持:乐呵呵网
声明:本站所有资源以学习为主