1. 程式人生 > >nginx暴露目錄文件

nginx暴露目錄文件

pes 暴露 目錄 type efault html dex app auto


location /test/ { alias /usr/share/nginx/html/
; } location /apk_download { alias /usr/share/nginx/html/; include mime.types; default_type application/octet-stream; autoindex on; autoindex_exact_size off; autoindex_localtime on; }

以上為openresty的配置

nginx暴露目錄文件