浏览代码

bug修复

threethousanddream 4 月之前
父节点
当前提交
610ce53deb
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 / {