nginx的80端口跳转到443

而后在80端口设置http跳转到https 在80端口location中加入rewrite ^(.*)$ https://$host$1 permanent; 如图,而后输入命令service nginx reload重启服务器。   转载于:https://www.cnblogs.com/kaishirenshi/p/10489479.htmlhtml
相关文章
相关标签/搜索