V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
Livid
V2EX  ›  NGINX

nginx 的 autoindex 和 fancyindex 模块的一个问题

  •  
  •   Livid · 2012-08-21 01:23:54 +08:00 · 3016 次点击
    这是一个创建于 4267 天前的主题,其中的信息可能已经有所发展或是发生改变。
    貌似 Parent directory/ 这个链接会永远显示,即使是在 / 最顶级目录。

    或许可以在 footer 用 jQuery 把它干掉?
    1 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    OP
       2012-08-21 02:17:14 +08:00
    看来靠谱办法是 hack template.html in ngx_fancyindex:

    http://gitorious.org/ngx-fancyindex/ngx-fancyindex/blobs/master/template.html
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1027 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:39 · PVG 03:39 · LAX 12:39 · JFK 15:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.