Explorar el Código

修改nginx的上传大小限制

guochao hace 5 años
padre
commit
8f38d9114a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
         }
- }
+ }