Nginx-Fancyindex-Theme
Nginx-Fancyindex-Theme copied to clipboard
sidebar creates wrong links if location root is not /
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.
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 /