nginx強制使用https訪問(http跳轉到https)可行

最近用 在http的server裏增加rewrite ^(.*) https://$host$1 permanent; 來解決問題,但是發現會有 ERR_TOO_MANY_REDIRECTS after adding ssl on nginx  下面這個方法可以徹底解決 轉自http://www.javashuo.com/article/p-beayftbk-ct.html   需求簡介 基於ng
相關文章
相關標籤/搜索