Parcourir la source

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

Erick Tryzelaar il y a 11 ans
Parent
commit
e63dec69ee
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      tools/load-balancer/etc/nginx.conf

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

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