Эх сурвалжийг харах

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

Erick Tryzelaar 10 жил өмнө
parent
commit
e63dec6

+ 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/;