Browse Source

[Nginx] Set client_max_body_size = 0

André 7 năm trước cách đây
mục cha
commit
66d1bc12c0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      data/conf/nginx/site.conf

+ 2 - 0
data/conf/nginx/site.conf

@@ -39,6 +39,8 @@ server {
 
   index index.php index.html;
 
+  client_max_body_size 0;
+
   include /etc/nginx/conf.d/listen_plain.active;
   include /etc/nginx/conf.d/listen_ssl.active;
   include /etc/nginx/conf.d/server_name.active;