confused with hiding a directory

raubvogel nginx-forum at nginx.us
Tue Aug 3 22:54:53 MSD 2010


Let's say I have a directory named conf in the root of my website I want
to hide. From what I understood, if I have
[code]
  location /conf { 
    deny all;
  }[/code]
It will not allow anybody to see what is inside /conf. But, what if I do
not want people even to know that /conf is there to begin with, while
other files and directories are visible?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,116233,116233#msg-116233




More information about the nginx mailing list