location / {
            root   html;
            index  index.html index.htm index.php;

            if (!-e $request_filename) {
                rewrite ^(.*)$ /index.php last;
                break;
            }
        }

相关文章: