Windows nginx Access web directory hint 403 Forbidden

Source: Internet
Author: User

In Windows HTTP Server nginx, access to the Web directory hint 403 Forbidden, first need to understand the Nginx 403 error is what it means:

403 Forbidden indicates that you are requesting a resource file but Nginx does not allow you to view, 403 Forbidden is just an HTTP status code, like 404,200 is not a technical error.

Find nginx.conf:

Change the user nobody to user root, restart Ng, and still no effect.

After the discovery of Nginx default is not supported browse directory.

Locate AutoIndex off and change to on. Restart Ng for normal access.

Windows nginx Access web directory hint 403 Forbidden

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.