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

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

  •  
  •   Livid ·
    PRO
    · Aug 21, 2012 · 3735 views
    This topic created in 5046 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   ·   5500 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:46 · PVG 15:46 · LAX 00:46 · JFK 03:46
    ♥ Do have faith in what you're doing.