bao nginx 的if语句和(之间必须带空格,例如 if (!-e $request_filename){ //判断文件是否存在,!-e 是不为真的意思 proxy_pass http://127.0.0.1:9501; }