NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
Livid
383.57D
536.36D
V2EX  ›  NGINX

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

  •  
  •   Livid ·
    PRO
    · Aug 21, 2012 · 3825 views
    This topic created in 5092 days ago, the information mentioned may be changed or developed.
    貌似 Parent directory/ 这个链接会永远显示,即使是在 / 最顶级目录。

    或许可以在 footer 用 jQuery 把它干掉?
    1 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    OP
    PRO
       Aug 21, 2012
    看来靠谱办法是 hack template.html in ngx_fancyindex:

    http://gitorious.org/ngx-fancyindex/ngx-fancyindex/blobs/master/template.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    ♥ Do have faith in what you're doing.