PS C:\Users\pactera\Desktop\nginx-1.17.5> .\nginx.exe -s reload
nginx: [emerg] invalid number of arguments in "root" directive in C:\Users\pactera\Desktop\nginx-1.17.5/conf/nginx.conf:57
location /etl { # root /usr/local/springcloud/web/schedule***-html; root D:\\soft\\config-file\\schedule***-html; index index.html; # absolute_redirect off; }
经查是因为在root后面对应的行后面没有使用;导致