Browse Source

修改nginx的上传大小限制

guochao 5 years ago
parent
commit
8f38d9114a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tool4deploy/conf.d/nginx.conf

+ 2 - 2
tool4deploy/conf.d/nginx.conf

@@ -3,7 +3,7 @@ server {
         server_name  crowd.test.mooctest.net;
         root /usr/share/nginx/html;
         #charset koi8-r;
-
+        client_max_body_size 100m;
         #access_log  logs/host.access.log  main;
 
         location / {
@@ -25,4 +25,4 @@ server {
         location = /50x.html {
             root   html;
         }
- }
+ }