-1
你好我開始使用nginx,設置nginx.conf到我的項目文件夾C:/ Projects。目錄列表:403禁止nginx
我用(自動索引:上)有一個目錄列表,但不工作
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;
}
}