nginx的80端口跳轉到443

而後在80端口設置http跳轉到https 在80端口location中加入rewrite ^(.*)$ https://$host$1 permanent; 如圖,而後輸入命令service nginx reload重啓服務器。   轉載於:https://www.cnblogs.com/kaishirenshi/p/10489479.htmlhtml
相關文章
相關標籤/搜索