只需一步,快速开始
apt-get install nginx
server { listen 80; #端口 server_name nl.xu.ci; #服务名 charset utf-8; #避免中文乱码 root /download; #显示的根索引目录,注意这里要改成你自己的,目录要存在 location / { autoindex on; #开启索引功能 autoindex_exact_size off; #关闭计算文件确切大小(单位bytes),只显示大概大小(单位kb、mb、gb) autoindex_localtime on; #显示本机时间而非 GMT 时间 } }
dd if=/dev/zero of=50M bs=1M count=50
举报
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-4-16 11:13 , Processed in 0.065490 second(s), 10 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.