location / {
root E:/xampp/htdocs/html5/php/yii2-rest-master/rest/web; index index.html index.htm; }
注意将原路径中的“”改成“/”