nginx目录浏览配置

        location / {
                        root   html;
			autoindex on; #开启目录浏览
			autoindex_exact_size off; #人性化显示文件大小,默认为bit
			autoindex_localtime on; #本地化显示修改时间
                   }

huan

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: