Nginx配置资源文件服务器

 server{
        listen 9880;
        server_name resServer;
        root /home/file/path; #文件根目录路径
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;

        sendfile on;
        tcp_nopush on;

    }


你可能感兴趣的:(server,服务器,资源,根目录,listen)