超灬超  
#301-START
if ($host ~ '^huixx.cn'){
return 301 https://www.huixx.cn$request_uri;
}
#301-END
#HTTP_TO_HTTPS_START
if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}
#HTTP_TO_HTTPS_END

  

posted on 2021-03-19 15:48  超灬超  阅读(346)  评论(0编辑  收藏  举报