Directory listing: 403 Forbidden nginx -


hello started using nginx, set nginx.conf project folder c: / projects.

i used (autoindex: on) have list of directories, not work

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;         } } 

if have 1 of index files present inside root directory (or subdirectory under c:\project matter), index page shown rather index of contents.

you may want check permissions on content under root; need readable user running nginx process.

could number of different things; you'll need clarify questions in future you've tried , haven't tried.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -