1
I need help, I started using Nginx now, I was researching about then I decided to test it, and I don’t know how to configure it properly, but I wanted to enable directory search. In his documentation it is (AutoIndex: on) but I use this, it does not appear, of error 403. Nginx is in C:/, but I set it to be directed in my folder C:/projetos. If anyone knows how I can fix it.
Code setting of it:
worker_processes  1;
    events {
        worker_connections  1024;
    }
    http {
        include       mime.types;
        default_type  application/octet-stream;
        sendfile        on;
        server {
            listen 80;
            server_name localhost;
            root C:\Project ;
            index index.html index.htm index.php;
            location / {
                autoindex on;
            }
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root   html;
            }
    }
						
Good afternoon, managed to solve the problem?
– Guilherme Nascimento
Good morning, I managed yes, it was very simple, the folder path was incorrect.
– Guilherme Almeida