nginx配置文件服务器



实际项目位置:

/data/temp/downloads.

nginx配置:
        location /downloads {
            #设置静态资源的root
            root /data/temp;
            autoindex on;
            autoindex_exact_size off;
            autoindex_localtime on;
        }



猜你喜欢

转载自robertlittleme.iteye.com/blog/1735555