视频讲解AMH6.0 云主机面板如何设置301重定向

if ( $host != 'gaozhiyuan.me' )
{
rewrite ^/(.*)$ https://gaozhiyuan.me/$1 permanent;
}

 

把 gaozhiyuan.me 改为你想301跳转到的域名,其中https可以换成http