0

I wanted a way for me to easily just rsync a directory up to my server and have a 'for short' way to download a file. Aka

d/foo1 > ../download/very-long-file-name.zip

I want auto index to retain the name 'foo1' in the HTML it sends over but for the href to link to download/very-long-file-name.zip. Currently the symlink does work as I enabled symlinks in my nginx.conf but it simply just downloads foo1 which contains the correct content but has no file extension or the right name.

Is this possible or will I have to create my own PHP autoindex script.

VixieTSQ
  • 3
  • 1

0 Answers0