disable symlink, possible?

Avleen Vig avleen at gmail.com
Fri Jun 19 18:18:39 MSD 2009

It's not possible. Trying to do so would be a major performance hit.
With a feature like this, nginx would have to call stat() on every  
element in the path to make sure it's not a symlink.
So instead of one stat() on /usr/local/www/domain/htdocs/dir/foo/bar/ 
index.html, nginx would have to do nine!

Madness :)

On Jun 17, 2009, at 8:57, Edho P Arief <edhoprima at gmail.com> wrote:

> Is it possible to disallow/disable nginx from following symlink?
> -- 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

More information about the nginx mailing list