index  index.html index.php index.htm;
location / {
    #去掉index.php,index 必须在此之上。
    if (!-e $request_filename) {
        rewrite ^/(.*)$ /index.php?s=$1 last;
        break;
    }
}

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注