diff --git a/default.conf b/default.conf index 417606e..3efc137 100644 --- a/default.conf +++ b/default.conf @@ -5,12 +5,8 @@ server { root /opt/www/; index index.html index.htm; - location ~* (/javadoc)|(/tests) { - autoindex off; - } - location /files/ { - root /opt/www/; # will at the end serve /opt/www/files/ + alias /opt/www/files/; index ___i; # we really need no index here, just listing files autoindex on;