Browse Source

increase default upload limit from 1M to 15M

trwnh 4 năm trước cách đây
mục cha
commit
02ad300443
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      contrib/nginx.conf

+ 1 - 0
contrib/nginx.conf

@@ -18,6 +18,7 @@ server {
     index index.html index.htm index.php;
 
     charset utf-8;
+    client_max_body_size 15M;
 
     location / {
         try_files $uri $uri/ /index.php?$query_string;