浏览代码

Merge branch 'feature-2.0' of ssh://git.mooctest.com:1022/crowd-2019/crowd-test-service-front into feature-2.0

wangJJ 5 年之前
父节点
当前提交
277c50e726
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 4 0
      tool4deploy-test/conf.d/nginx.conf
  2. 4 0
      tool4deploy/conf.d/nginx.conf

+ 4 - 0
tool4deploy-test/conf.d/nginx.conf

@@ -8,6 +8,10 @@ server {
 
         location / {
             root /usr/share/nginx/html;
+            proxy_buffering on;
+            proxy_buffer_size 4k;
+            proxy_buffers 8 1M;
+            proxy_busy_buffers_size 2M;
         }
 
         location /api {

+ 4 - 0
tool4deploy/conf.d/nginx.conf

@@ -8,6 +8,10 @@ server {
 
         location / {
             root /usr/share/nginx/html;
+            proxy_buffering on;
+            proxy_buffer_size 4k;
+            proxy_buffers 8 1M;
+            proxy_busy_buffers_size 2M;
         }
 
         location /api {