nginx打开网页报错

  nginx路径配置错了,主要是斜杠问题。
错误: 或者 盘符:/ 盘符:
另外,url不用加双引号
正确:


server {
listen 8800;
server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root D://initUser20190315/renren-fast-vue-master;
index index.html index.htm;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}