nginx 80端口跳转到443

nginx配置文件80配置中增加

rewrite ^ https://$http_host$request_uri? permanent;

如图:

 

 


https://blog.csdn.net/jiandangxiaodiao/article/details/85011187

 

posted @ 2020-11-28 20:54  冬音  阅读(3267)  评论(1编辑  收藏  举报