1

I would like to configure nginx to list and serve bulk files from a select directory (autoindex on option). However I worry that if a symbolic link will be accidentally placed in such a directory, all files in the filesystem may become externally exposed (for example by a symbolic link to /).

Is there a way to avoid this?

1 Answer 1

3

Use the disable_symlinks directive:

disable_symlinks on
1
  • note that this parameter is only available from 1.1.16. Oct 26, 2012 at 16:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .