nginx服务器http重定向到https的正确写法

把http重定向到https使用了nginx的重定向命令。那么应该如何写重定向?之前老版本的nginx可能使用了以下类似的格式。 rewrite ^/(.*)$ http://domain.com/$1 permanent; 或者 rewrite ^ http://domain.com$req......

发表时间:2014-11-26 15:58 | 分类:Linux | 评论:2 | 浏览:8,114 次 | 阅读更多
一键脚本 博客历程 留言联系 文章归档 网站地图 谷歌地图
Copyright © 2010-2024 章郎虫博客 All Rights Reserved.