Hello World

Your description here.

首页 关于

一行配置美化 nginx 目录 autoindex.html

  • 作者: default
  • 时间: 2024-12-06
  • 分类: 建站相关

安装

一行配置美化-nginx-目录成-github-风格

  1. 配置 autoindex.html
    在 nginx autoindex 指令下面添加 add_after_body /autoindex.html; 然后重启 nginx 即可
  2. add_after_body
# download autoindex.html to /wwwroot/
location ~ ^(.*)/$ {
    charset utf-8;
    autoindex on;
    autoindex_localtime on;
    autoindex_exact_size off;
    add_after_body /autoindex.html;
}

标签: none

  • 上一篇: 使用powershell修改mstsc端口号
  • 下一篇: 光猫复位怎么重新注册

最新文章

  • windows平台部署arm架构的虚拟机
  • 如何使用命令删除Win10内置应用
  • wireguard docker配置,一分钟搞定异地组网
  • nginx搭建静态文件下载服务器
  • Win 10 / 11 安装时跳过 oobe 并直接使用administrator账户
  • 使用 New-Partition 和 Remove-Partition 来创建和删除分区。 使用 Format-Volume 格式化分区。
  • 下载 ESXi 安装程序
  • 解决新版Win11更新后无法使用OOBE/BYPASSNRO跳过联网的问题
  • 统信、麒麟国产化操作系统通过命令行获取机器序列号、型号、BIOS等参数信息
  • Windows 10轻松查询ESN:教你一招快速定位设备序列号,安全无忧!

最近回复

  • Typecho: 欢迎加入 Typecho 大家族

分类

  • Windows
  • Linux
  • Docker
  • 网络技术
  • 办公相关
  • 建站相关
  • 其他

其它

  • 登录
  • 文章 RSS
  • 评论 RSS
  • Typecho
© 2026 Hello World. 由 Typecho 强力驱动.