Browse Source

cloud: allow bigger urls for downloads

Guilhem Saurel 6 years ago
parent
commit
20c72e2638
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cloud/nginx.conf

+ 3 - 0
cloud/nginx.conf

@@ -75,6 +75,9 @@ http {
         client_max_body_size 10G;
         client_max_body_size 10G;
         fastcgi_buffers 64 4K;
         fastcgi_buffers 64 4K;
 
 
+        # allow longer url, like when we want to download a lot of files
+        large_client_header_buffers 4 64k;
+
         # Enable gzip but do not remove ETag headers
         # Enable gzip but do not remove ETag headers
         gzip on;
         gzip on;
         gzip_vary on;
         gzip_vary on;