Nginx-Fancyindex-Theme icon indicating copy to clipboard operation
Nginx-Fancyindex-Theme copied to clipboard

sidebar creates wrong links if location root is not /

Open mynery opened this issue 6 years ago • 1 comments

I have something like

location ~ ^/~(.+)/ {
  root /home/myname/http/;
  fancyindex on;
  fancyindex_header "/fancyindex/header.html";
  fancyindex_footer "/fancyindex/footer.html";
}

I get the layout and home button on the header as well as in the sidebar do take me to the correct page. However, if I browse examle.org/~myname/foo, I get an entry in the sidebar that links to example.org/foo instead.

mynery avatar Jan 20 '19 13:01 mynery

Hi, today is not possible to use other location that "/". You can hide the sidebar in add fancyindex.css the value div.mdl-navigation{display:none} or you can use a subdomain with location /

fraoustin avatar Jan 20 '19 13:01 fraoustin