wordpress网站默认的nginx规则

Author: 陌小雨Date: 2020-08-31View: 72

如果你安装wordpress源码的次数不超过20次,你不要跟我说你会wordpress主题建站,那么小雨给大家分享wordpress网站默认的nginx规则

location /
{
    try_files $uri $uri/ /index.php?$args;
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;