DirectoryIndex index index.php index.html index.html.var
<Directory /path/to/directory>
Options Indexes
</Directory>
CODE
nginx 는 location 지시자에 autoindex 가 on 일 경우 요청 리소스가 목록을 출력하며 기본 설정은 off 이므로 명시적으로 설정할 필요가 없습니다.
index index.php index.html index.htm;
location / {
autoindex off;
}
CODE
![](/plugins/servlet/confluence/placeholder/unknown-macro?name=page-turner&locale=en_US&version=2)