1.备份Nginx文件 cd /www/server/nginx/sbin/ cp nginx nginx.bak 2.下载Nginx fancyindex模块 cd /root/ git clone https://github.com/aperezdc/ngx-fancyindex cp -R