[fix:1.18]为default站点配置增加autoindex属性
This commit is contained in:
@@ -8,6 +8,7 @@ server {
|
||||
location / {
|
||||
root /usr/local/nginx/html;
|
||||
index index.html index.htm index.php;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
Reference in New Issue
Block a user