1、vim /usr/local/nginx/conf/wordpress.conf
2、rewrite /wp-admin$ $scheme://$host$uri/ permanent;
3、ngnix -s reload
:q! 不保存退出
:wq 保存退出
:w 保存
:w filename
转载于:https://www.cnblogs.com/kedarui/p/3781160.html
1、vim /usr/local/nginx/conf/wordpress.conf
2、rewrite /wp-admin$ $scheme://$host$uri/ permanent;
3、ngnix -s reload
:q! 不保存退出
:wq 保存退出
:w 保存
:w filename
转载于:https://www.cnblogs.com/kedarui/p/3781160.html