AMH部署typecho:404错误

按路径打开 并修改nginx配置:/home/wwwroot/lnmp01/vhost/你的域名.conf
找到:
location ~ .*\.php$

修改为:

location ~ .*\.php(\/.*)*$

按路径打开 并修改重写规则:/home/wwwroot/lnmp01/rewrite/amh.conf

if (-f $request_filename/index.php){
    rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
    rewrite (.*) /index.php;
}