location = / {
root C://Workspace//landing;
}
location = / {
alias C://Workspace//landing;
}
9080#5304: *2407 directory index of "C://Workspace//landing" is forbidden, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1"
9080#5304: *2407 CreateFile() "C:\nginx-1.15.2/html/favicon.ico" failed (2: The system cannot find the file specified), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1", referrer: "http://127.0.0.1/"
location / {
root C:\Workspace\frontend\dist\app-frontend;
}
location = / {
root C:\Workspace\landing;
}
root C:\Workspace\landing;
То с доступом проблем не возникает.