confused with hiding a directory

raubvogel nginx-forum at
Tue Aug 3 23:13:02 MSD 2010

Thanks for the suggestion. Unfortunately the directory conf is still
being shown. Once I click on it, I get the 404 error. Here is the conf
file for the site, just in case I have done something somewhere else
that is affecting this (nginx.conf has not being touched):
server {
  listen 80 default;
  # Default site
  server_name _;
  autoindex on;

  access_log /var/log/nginx/packages-error.log;
  error_log /var/log/nginx/packages-error.log;

  location / {
    root /export/www/site1;

  location /conf {

  location ~ /(.*)/db {
    deny all;

Posted at Nginx Forum:,116233,116241#msg-116241

More information about the nginx mailing list