Closed f1ynng8 closed 4 years ago
if ($server_port !~ 443){ #用于80端口自动跳转到HTTPS rewrite ^(/.*)$ https://$host$1 permanent; }
确实是我的笔误,还在想为什么很多朋友用了本地版本出现问题,非常感谢您的指出!