打开 SSH 登陆之后输入:
echo 'rewrite /wp-admin$ $scheme://$host$uri/ permanent;' >> /usr/local/nginx/conf/wordpress.conf && /etc/init.d/nginx restart
或者登录编辑/usr/local/nginx/conf/wordpress.conf,在最后添加
rewrite /wp-admin$ $scheme://$host$uri/ permanent;