We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文件浏览功能使用 ngx_http_autoindex_module 模块实现,可选配置项不多。
ngx_http_autoindex_module
location / { root /path/to/folder/; autoindex on | off; #开启nginx目录浏览功能 autoindex_exact_size on | off; #文件大小的大小格式 autoindex_localtime on | off; #服务器是否使用本地时间 }
在实际使用中,建议使用 location 搭配路由访问。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
文件浏览功能使用
ngx_http_autoindex_module
模块实现,可选配置项不多。在实际使用中,建议使用 location 搭配路由访问。
The text was updated successfully, but these errors were encountered: