ftp: make wget scrape friendly
This commit is contained in:
parent
7061bc1910
commit
20c102e264
|
@ -48,9 +48,12 @@
|
|||
|
||||
locations."/" = {
|
||||
root = "/var/www/ftp.c3d2.de";
|
||||
extraConfig = ''
|
||||
extraConfig = /* nginx */ ''
|
||||
charset UTF-8; # fix mojibake
|
||||
|
||||
# better wget scraping ;)
|
||||
rewrite /(.*)index.html?$ /$1;
|
||||
|
||||
fancyindex on;
|
||||
fancyindex_exact_size off;
|
||||
fancyindex_css_href /.theme/style.css;
|
||||
|
|
Loading…
Reference in New Issue