Selaa lähdekoodia

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

Erick Tryzelaar 10 vuotta sitten
vanhempi
commit
e63dec6
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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/;