首页 > 其他 > 详细

Nginx配置资源文件服务器

时间:2015-06-03 19:53:49      阅读:264      评论:0      收藏:0      [点我收藏+]
 server{
        listen 9880;
        server_name resServer;
        root /home/file/path; #文件根目录路径
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;

        sendfile on;
        tcp_nopush on;

    }


本文出自 “zl1030的记录” 博客,请务必保留此出处http://zl1030.blog.51cto.com/274507/1657906

Nginx配置资源文件服务器

原文:http://zl1030.blog.51cto.com/274507/1657906

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!