emlog在nginx中添加rewrite规则


rewrite ^/(post|record|sort|author|page)-([0-9]+).html$ /index.php?$1=$2; rewrite ^/tag-(.+).html$ /index.php?tag=$1;

把index.html 强制转换到index.php页面

rewrite ^/index.html$ /index.php last;
原文地址:https://www.cnblogs.com/wangkongming/p/4004412.html