Explorar el Código

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

Erick Tryzelaar hace 10 años
padre
commit
e63dec6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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/;