问题
I use Nginx at my company and am new at it.
I'm just wondering if anyone had issues where the Nginx did NOT have enough privileges on Windows 10 NOT Ubuntu, but Windows 10, to create files and directories within the Nginx folder. In my Nginx.conf, the user "nobody" and "pid" line are commented out so I know that Nginx is NOT using a user that does NOT belong to the Admin group. Even the "root" user, I did not find it in my conf file.
Sometimes I can't even manually open up that Nginx folder and this issue is preventing our Nginx windows service from running.
Any suggestion for Windows 10 (Not Ubuntu) users would help; hopefully you've been there before.
UPDATES
Here's the error I get:
[error] 12212#14724: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "POST /some/folder/create?v=1.8 HTTP/1.1", upstream: "http://127.0.0.1:8081/someFolder/items/create?v=1.8", host: "localhost"
来源:https://stackoverflow.com/questions/35580037/access-denied-to-nginx-folder-with-folders-and-files-not-being-created