Access denied to Nginx folder with folders and files not being created

拜拜、爱过 提交于 2019-12-13 01:38:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!