Browse Source

bug修复

threethousanddream 3 months ago
parent
commit
610ce53deb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docker/nginx.conf

+ 2 - 2
docker/nginx.conf

@@ -21,7 +21,7 @@ http {
     sendfile        on;
     keepalive_timeout  65;
     server_tokens off;
-
+    
 	gzip on;
 	gzip_min_length  1k;
 	gzip_buffers     4 16k;
@@ -34,7 +34,7 @@ http {
         listen 80;
         server_name localhost;
         root /usr/share/nginx/frontend;
-        autoindex on;
+        autoindex off;
         autoindex_exact_size off;
         autoindex_localtime on;
         location / {