Procházet zdrojové kódy

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

Erick Tryzelaar před 10 roky
rodič
revize
e63dec6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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/;