nginx中配置emlog的rewrite规则,在emlog站点的nginx配置文件里加入:
location / { index index.php index.html;
nginx中配置emlog的rewrite规则,在emlog站点的nginx配置文件里加入:
location / {
index index.php index.html;
if (!-e $request_filename)
{
rewrite ^/(.+)$ /index.php last;
}
}