nginx设置跳转https

在监听80端口的内部,添加一句代码:rewrite ^(.*)$ https://$host$1 permanent;

posted @ 2019-06-25 16:08  骅骝漫轻舞01  阅读(153)  评论(0)    收藏  举报