浏览代码

[load-balancer] Don't expose the staticfile dirs by default

Erick Tryzelaar 10 年之前
父节点
当前提交
e63dec69ee
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tools/load-balancer/etc/nginx.conf

+ 2 - 1
tools/load-balancer/etc/nginx.conf

@@ -33,7 +33,8 @@ http {
         }
 
         location /static/ {
-            autoindex on;
+            # Uncomment to expose the static file directories.
+            ## autoindex on;
 
             # The default Hue staticfile packaging installation directory.
             alias /usr/lib/hue/build/static/;