xielin 5 年之前
父節點
當前提交
ed76047164
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deploy/nginx/conf.d/app.dev.conf

+ 2 - 0
deploy/nginx/conf.d/app.dev.conf

@@ -4,6 +4,8 @@ server {
     error_log  /var/log/nginx/error.log;
     access_log /var/log/nginx/access.log;
     root /var/www/public;
+    client_max_body_size       100m;
+    client_body_buffer_size    128k;
     location ~ \.php$ {
         try_files $uri =404;
         fastcgi_split_path_info ^(.+\.php)(/.+)$;