_# jeffery # focus on Odoo and other open source IT solutions # IT基础架构资深专家,开源解决方案专家,odoo资深专家__Q:913547235 讨论群397750860

nginx list directory

使用 http autoindex 模块列出 目录, 例如 需要将 /var/www 下的 resourcepacks 目录以 http 的方式 暴露

   

   

这样设置 nginx

   

   

   

开启 autoindex 选项

   

   

   

注意,

   

root 只需要写 resourcepacks 的上级目录。

   

   

   

这样,就能 以HTTP方式 访问 文件共享咯

   

posted on 2016-08-10 10:39  odoouse  阅读(744)  评论(1编辑  收藏  举报

导航

_# jeffery # focus on Odoo and other open source IT solutions # IT基础架构资深专家,开源解决方案专家,odoo资深专家