isv-robot 2 年之前
父節點
當前提交
87eb9dc490
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 2 0
      nginx-conf/conf.d/default.conf
  2. 0 1
      nginx-conf/nginx.conf

+ 2 - 0
nginx-conf/conf.d/default.conf

@@ -3,6 +3,8 @@ server {
     listen       80;
     listen  [::]:80;
     server_name  localhost;
+    client_max_body_size 1024M;
+
 
     set $root  '/usr/share/nginx/html';
     root $root;

+ 0 - 1
nginx-conf/nginx.conf

@@ -6,7 +6,6 @@ worker_processes  1;
 error_log  /var/log/nginx/error.log warn;
 pid        /var/run/nginx.pid;
 
-
 events {
     worker_connections  1024;
 }