nginx在windos下配置路径问题

镇魂帆2 / 2023-05-22 / 原文

报错配置

server {
       listen       8181;
       location / {
            root  D:\work\工作内容\0017.Burp Suite 研究\漏洞演示代码;
            index  a.html;
        }
     }

正确配置

server {
       listen       8181;
       location / {
            root  "D:\work\工作内容\0017.Burp Suite 研究\漏洞演示代码";
            index  a.html;
        }
     }