소스 검색

Merge branch 'feature-fix-bug' into 'Dev'

修改nginx的上传大小限制

See merge request crowd-2019/crowd-test-service-front!31
guochao 5 년 전
부모
커밋
419afed981
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
         }
- }
+ }